{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/gwf25/Desktop/claims_VIII.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 7 Dec 2015, 10:03:55

{com}. do "/Users/gwf25/Dropbox/research/religion/final code/claims_VIII.do"
{txt}
{com}. ********************************************************
. ********************************************************
. **********Claims in VIII. Multiple Testing**************
. ********************************************************
. ********************************************************
. 
. clear all
{txt}
{com}. set mem 150m
{txt}(153600k)

{com}. set more off
{txt}
{com}. 
. use "/Users/gwf25/Dropbox/research/religion/final code/religion_all.dta"
{txt}
{com}. 
. //  Begin definition of variables
. 
. ***Drop subjects who thought the experiment was about religion
. gen id = _n
{txt}
{com}. drop if id == 98 | id == 176 | id == 194 | id == 383
{txt}(4 observations deleted)

{com}. 
. ***Drop subjects who incorrectly completed the priming task. This includes subjects who leave more than half the responses blank. The following subjects
. ***all left at least questions #2-#7 blank in the sentence unscrambling task. 
. drop if id==7 | id==719 | id==740 | id==762 | id==940
{txt}(5 observations deleted)

{com}. 
. ***An error led to some subjects seeing both the control and religion salient sentence unscrambling tasks. Here, we drop those subjects.
. drop if prime_diff == 1
{txt}(2 observations deleted)

{com}. 
. ***"skipped" is a dummy variable for whether subjects skip the question that asks their religion. If they skip this question, we drop them from the sample 
. ***and if not, we assign a dummy variable to indicate the treatment group (religion salient or control) that subject belongs to.
. gen skipped=0
{txt}
{com}. replace skipped=1 if  s10q15==""
{txt}(21 real changes made)

{com}. gen treatR=.
{txt}(1033 missing values generated)

{com}. replace treatR=religion if skipped==0
{txt}(1012 real changes made)

{com}. drop if skipped==1
{txt}(21 observations deleted)

{com}. 
. ***Define religion
. gen relig=.
{txt}(1012 missing values generated)

{com}. 
. ***Note: 1 = protestant or other christian, 2 = catholic, 3 = jewish, 4 = agnostic/atheist
. replace relig=1 if (s10q15=="Christian - Other (please specify below)" | s10q15=="Christian - Protestant (please specify denomination below)")
{txt}(264 real changes made)

{com}. replace relig=2 if s10q15=="Christian - Catholic"
{txt}(199 real changes made)

{com}. replace relig=3 if s10q15=="Jewish (Orthodox/Reformed/etc.)" | s10q15=="Jewish (Orthodox/Reform/etc.)"
{txt}(95 real changes made)

{com}. replace relig=4 if (s10q15=="Agnostic" | s10q15=="Atheist")
{txt}(269 real changes made)

{com}. 
. ***Drop Mormon/Othodox Christians from the sample
. drop if s10q15sp == "Greek Orthodox"
{txt}(2 observations deleted)

{com}. drop if s10q15sp == "Russian Othrodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "greek orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Orthodox Christian"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthdox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "christian orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthodox Christian"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Russian orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Church of Jesus Christ of Latter Day Saints"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthodox"
{txt}(0 observations deleted)

{com}. 
. drop id
{txt}
{com}. // End of variables
. 
. 
. 
. ****Create dependent variables to run in F-test****
. 
. 
. ***Wageoffer
. rename m wageoffer
{txt}
{com}. 
. ***Slope from regression of work cost on wages
. ***Create the cost, cXXX, for providing a certain amount of effort at eXXX. A certain monetary cost is associated with each level of output. So, we have:
. ***[eXXX, cXXX] = [(1,$0.00),(2,$0.04),(3,$0.08),(4,$0.16),(5,$0.24),(6,$0.32),(7,$0.40),(8,$0.48),(9,$0.60),(10,$0.72)]
. gen c000 = .
{txt}(1002 missing values generated)

{com}. replace c000 = 0 if e000 == 1
{txt}(423 real changes made)

{com}. replace c000 = .04 if e000 == 2
{txt}(2 real changes made)

{com}. replace c000 = .08 if e000 == 3
{txt}(0 real changes made)

{com}. replace c000 = .16 if e000 == 4
{txt}(1 real change made)

{com}. replace c000 = .24 if e000 == 5
{txt}(0 real changes made)

{com}. replace c000 = .32 if e000 == 6
{txt}(0 real changes made)

{com}. replace c000 = .40 if e000 == 7
{txt}(0 real changes made)

{com}. replace c000 = .48 if e000 == 8
{txt}(0 real changes made)

{com}. replace c000 = .60 if e000 == 9
{txt}(0 real changes made)

{com}. replace c000 = .72 if e000 == 10
{txt}(1 real change made)

{com}. 
. gen c050 = .
{txt}(1002 missing values generated)

{com}. replace c050 = 0 if e050 == 1
{txt}(315 real changes made)

{com}. replace c050 = .04 if e050 == 2
{txt}(78 real changes made)

{com}. replace c050 = .08 if e050 == 3
{txt}(25 real changes made)

{com}. replace c050 = .16 if e050 == 4
{txt}(3 real changes made)

{com}. replace c050 = .24 if e050 == 5
{txt}(2 real changes made)

{com}. replace c050 = .32 if e050 == 6
{txt}(0 real changes made)

{com}. replace c050 = .40 if e050 == 7
{txt}(1 real change made)

{com}. replace c050 = .48 if e050 == 8
{txt}(0 real changes made)

{com}. replace c050 = .60 if e050 == 9
{txt}(2 real changes made)

{com}. replace c050 = .72 if e050 == 10
{txt}(1 real change made)

{com}. 
. gen c100 = .
{txt}(1002 missing values generated)

{com}. replace c100 = 0 if e100 == 1
{txt}(216 real changes made)

{com}. replace c100 = .04 if e100 == 2
{txt}(68 real changes made)

{com}. replace c100 = .08 if e100 == 3
{txt}(97 real changes made)

{com}. replace c100 = .16 if e100 == 4
{txt}(31 real changes made)

{com}. replace c100 = .24 if e100 == 5
{txt}(11 real changes made)

{com}. replace c100 = .32 if e100 == 6
{txt}(0 real changes made)

{com}. replace c100 = .40 if e100 == 7
{txt}(2 real changes made)

{com}. replace c100 = .48 if e100 == 8
{txt}(0 real changes made)

{com}. replace c100 = .60 if e100 == 9
{txt}(1 real change made)

{com}. replace c100 = .72 if e100 == 10
{txt}(1 real change made)

{com}. 
. gen c150 = .
{txt}(1002 missing values generated)

{com}. replace c150 = 0 if e150 == 1
{txt}(181 real changes made)

{com}. replace c150 = .04 if e150 == 2
{txt}(41 real changes made)

{com}. replace c150 = .08 if e150 == 3
{txt}(56 real changes made)

{com}. replace c150 = .16 if e150 == 4
{txt}(75 real changes made)

{com}. replace c150 = .24 if e150 == 5
{txt}(58 real changes made)

{com}. replace c150 = .32 if e150 == 6
{txt}(8 real changes made)

{com}. replace c150 = .40 if e150 == 7
{txt}(5 real changes made)

{com}. replace c150 = .48 if e150 == 8
{txt}(1 real change made)

{com}. replace c150 = .60 if e150 == 9
{txt}(1 real change made)

{com}. replace c150 = .72 if e150 == 10
{txt}(1 real change made)

{com}. 
. gen c200 = .
{txt}(1002 missing values generated)

{com}. replace c200 = 0 if e200 == 1
{txt}(168 real changes made)

{com}. replace c200 = .04 if e200 == 2
{txt}(25 real changes made)

{com}. replace c200 = .08 if e200 == 3
{txt}(31 real changes made)

{com}. replace c200 = .16 if e200 == 4
{txt}(42 real changes made)

{com}. replace c200 = .24 if e200 == 5
{txt}(82 real changes made)

{com}. replace c200 = .32 if e200 == 6
{txt}(32 real changes made)

{com}. replace c200 = .40 if e200 == 7
{txt}(20 real changes made)

{com}. replace c200 = .48 if e200 == 8
{txt}(22 real changes made)

{com}. replace c200 = .60 if e200 == 9
{txt}(3 real changes made)

{com}. replace c200 = .72 if e200 == 10
{txt}(2 real changes made)

{com}. 
. gen c250 = .
{txt}(1002 missing values generated)

{com}. replace c250 = 0 if e250 == 1
{txt}(166 real changes made)

{com}. replace c250 = .04 if e250 == 2
{txt}(17 real changes made)

{com}. replace c250 = .08 if e250 == 3
{txt}(28 real changes made)

{com}. replace c250 = .16 if e250 == 4
{txt}(18 real changes made)

{com}. replace c250 = .24 if e250 == 5
{txt}(53 real changes made)

{com}. replace c250 = .32 if e250 == 6
{txt}(65 real changes made)

{com}. replace c250 = .40 if e250 == 7
{txt}(33 real changes made)

{com}. replace c250 = .48 if e250 == 8
{txt}(14 real changes made)

{com}. replace c250 = .60 if e250 == 9
{txt}(6 real changes made)

{com}. replace c250 = .72 if e250 == 10
{txt}(27 real changes made)

{com}. 
. gen c300 = .
{txt}(1002 missing values generated)

{com}. replace c300 = 0 if e300 == 1
{txt}(159 real changes made)

{com}. replace c300 = .04 if e300 == 2
{txt}(14 real changes made)

{com}. replace c300 = .08 if e300 == 3
{txt}(15 real changes made)

{com}. replace c300 = .16 if e300 == 4
{txt}(26 real changes made)

{com}. replace c300 = .24 if e300 == 5
{txt}(27 real changes made)

{com}. replace c300 = .32 if e300 == 6
{txt}(45 real changes made)

{com}. replace c300 = .40 if e300 == 7
{txt}(51 real changes made)

{com}. replace c300 = .48 if e300 == 8
{txt}(39 real changes made)

{com}. replace c300 = .60 if e300 == 9
{txt}(11 real changes made)

{com}. replace c300 = .72 if e300 == 10
{txt}(40 real changes made)

{com}. 
. gen c350 = .
{txt}(1002 missing values generated)

{com}. replace c350 = 0 if e350 == 1
{txt}(160 real changes made)

{com}. replace c350 = .04 if e350 == 2
{txt}(11 real changes made)

{com}. replace c350 = .08 if e350 == 3
{txt}(15 real changes made)

{com}. replace c350 = .16 if e350 == 4
{txt}(17 real changes made)

{com}. replace c350 = .24 if e350 == 5
{txt}(36 real changes made)

{com}. replace c350 = .32 if e350 == 6
{txt}(16 real changes made)

{com}. replace c350 = .40 if e350 == 7
{txt}(34 real changes made)

{com}. replace c350 = .48 if e350 == 8
{txt}(54 real changes made)

{com}. replace c350 = .60 if e350 == 9
{txt}(37 real changes made)

{com}. replace c350 = .72 if e350 == 10
{txt}(47 real changes made)

{com}. 
. gen c400 = .
{txt}(1002 missing values generated)

{com}. replace c400 = 0 if e400 == 1
{txt}(231 real changes made)

{com}. replace c400 = .04 if e400 == 2
{txt}(7 real changes made)

{com}. replace c400 = .08 if e400 == 3
{txt}(8 real changes made)

{com}. replace c400 = .16 if e400 == 4
{txt}(9 real changes made)

{com}. replace c400 = .24 if e400 == 5
{txt}(22 real changes made)

{com}. replace c400 = .32 if e400 == 6
{txt}(11 real changes made)

{com}. replace c400 = .40 if e400 == 7
{txt}(15 real changes made)

{com}. replace c400 = .48 if e400 == 8
{txt}(27 real changes made)

{com}. replace c400 = .60 if e400 == 9
{txt}(31 real changes made)

{com}. replace c400 = .72 if e400 == 10
{txt}(66 real changes made)

{com}. 
. ***Drop the highest effort amount
. drop c400
{txt}
{com}. 
. ***In order to properly reshape the data, we must rename the effort and cost of effort at $0 and $0.50
. rename e000 e0
{txt}
{com}. rename e050 e50
{txt}
{com}. rename c000 c0
{txt}
{com}. rename c050 c50
{txt}
{com}. 
. ***Create the corresponding wages for each effort choice
. gen w0 = 0
{txt}
{com}. gen w50 = .5
{txt}
{com}. gen w100 = 1
{txt}
{com}. gen w150 = 1.5
{txt}
{com}. gen w200 = 2
{txt}
{com}. gen w250 = 2.5
{txt}
{com}. gen w300 = 3
{txt}
{com}. gen w350 = 3.5
{txt}
{com}. 
. ***Create the estimated regression parameter where beta=reciprocity
. gen beta=.
{txt}(1002 missing values generated)

{com}. 
. gen id = _n
{txt}
{com}. 
. ***Reshape the data so that we can regress cost of effort on all possible wages, by subject
. reshape long c, i(id) j(w)
{txt}(note: j = 0 50 100 150 200 250 300 350)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}    1002   {txt}->{res}    8016
{txt}Number of variables            {res}     221   {txt}->{res}     215
{txt}j variable (8 values)                     ->   {res}w
{txt}xij variables:
                        {res}c0 c50 ... c350   {txt}->   {res}c
{txt}{hline 77}

{com}. 
. ***Loop through all subjects and regress the effort on wage by each subject and save values of regression
. ***Note that some subjects did not do this section so we exclude them here. Only subjects numbered 263 through 689 did the gift exchange task.
. quiet forvalues x = 263/689 {c -(}
{txt}
{com}. 
. ***Reshape the data to its original form
. reshape wide c, i(id) j(w)
{txt}(note: j = 0 50 100 150 200 250 300 350)

Data{col 36}long{col 43}->{col 48}wide
{hline 77}
Number of obs.                 {res}    8016   {txt}->{res}    1002
{txt}Number of variables            {res}     215   {txt}->{res}     221
{txt}j variable (8 values)                 {res}w   {txt}->   (dropped)
xij variables:
                                      {res}c   {txt}->   {res}c0 c50 ... c350
{txt}{hline 77}

{com}. 
. ***Public Good Contribution
. rename s6 contribute
{txt}
{com}. 
. ***Amount Given Away in Dictator Game
. rename s5 giveaway
{txt}
{com}. 
. ***Discount Rate
. 
. ***Create the upper limit of the discount rate.
. //gen r1=.
. //replace r1= ln(ln(10.10/10)) if s2q1==1
. //gen r2=.
. //replace r2= ln(ln(10.25/10)) if s2q2==1
. //gen r3=.
. //replace r3= ln(ln(10.50/10)) if s2q3==1
. //gen r4=.
. //replace r4= ln(ln(10.75/10)) if s2q4==1
. //gen r5=.
. //replace r5= ln(ln(11/10)) if s2q5==1
. //gen r6=.
. //replace r6= ln(ln(11.25/10)) if s2q6==1
. //gen r7=.
. //replace r7= ln(ln(11.50/10)) if s2q7==1
. //gen r8=.
. //replace r8= ln(ln(12/10)) if s2q8==1
. //gen r9=.
. //replace r9= ln(ln(12.50/10)) if s2q9==1
. //gen r10=.
. //replace r10= ln(ln(13/10)) if s2q10==1
. //gen r11=.
. //replace r11= ln(ln(14/10)) if s2q11==1
. //gen r12=.
. //replace r12= ln(ln(15/10)) if s2q12==1
. 
. ***Fill in the upper limit, rounding to 7 decimal places for now vs. 1 week choices.
. gen r1=.
{txt}(1002 missing values generated)

{com}. replace r1= -4.6101495 if s2q1==1
{txt}(134 real changes made)

{com}. gen r2=.
{txt}(1002 missing values generated)

{com}. replace r2= -3.7012512 if s2q2==1
{txt}(163 real changes made)

{com}. gen r3=.
{txt}(1002 missing values generated)

{com}. replace r3= -3.0202265 if s2q3==1
{txt}(185 real changes made)

{com}. gen r4=.
{txt}(1002 missing values generated)

{com}. replace r4= -2.6266454 if s2q4==1
{txt}(195 real changes made)

{com}. gen r5=.
{txt}(1002 missing values generated)

{com}. replace r5= -2.3506187 if s2q5==1
{txt}(264 real changes made)

{com}. gen r6=.
{txt}(1002 missing values generated)

{com}. replace r6= -2.1389110  if s2q6==1
{txt}(270 real changes made)

{com}. gen r7=.
{txt}(1002 missing values generated)

{com}. replace r7= -1.9678147 if s2q7==1
{txt}(280 real changes made)

{com}. gen r8=.
{txt}(1002 missing values generated)

{com}. replace r8= -1.7019834 if s2q8==1
{txt}(316 real changes made)

{com}. gen r9=.
{txt}(1002 missing values generated)

{com}. replace r9= -1.4999400 if s2q9==1
{txt}(320 real changes made)

{com}. gen r10=.
{txt}(1002 missing values generated)

{com}. replace r10= -1.3380214 if s2q10==1
{txt}(353 real changes made)

{com}. gen r11=.
{txt}(1002 missing values generated)

{com}. replace r11= -1.0892396 if s2q11==1
{txt}(369 real changes made)

{com}. gen r12=.
{txt}(1002 missing values generated)

{com}. replace r12= -0.9027205 if s2q12==1
{txt}(390 real changes made)

{com}. 
. ***Choose the upper limit for the first time the subject makes the patient choice in the now vs. 1 week section.
. gen reservationr1= min(r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12)
{txt}(612 missing values generated)

{com}. 
. ***Note that the number of missing observations for s2q1 through s2q24 (for those subjects who completed participated in the time section) is always zero.
. 
. ***Fill in the upper limit, rounding to 7 decimal places for 1 week vs. 2 week choices.
. gen r13=.
{txt}(1002 missing values generated)

{com}. replace r13=-4.6101495 if s2q13==1
{txt}(163 real changes made)

{com}. gen r14=.
{txt}(1002 missing values generated)

{com}. replace r14= -3.7012512 if s2q14==1
{txt}(181 real changes made)

{com}. gen r15=.
{txt}(1002 missing values generated)

{com}. replace r15= -3.0202265 if s2q15==1
{txt}(199 real changes made)

{com}. gen r16=.
{txt}(1002 missing values generated)

{com}. replace r16= -2.6266454 if s2q16==1
{txt}(205 real changes made)

{com}. gen r17=.
{txt}(1002 missing values generated)

{com}. replace r17= -2.3506187 if s2q17==1
{txt}(276 real changes made)

{com}. gen r18=.
{txt}(1002 missing values generated)

{com}. replace r18= -2.1389110 if s2q18==1
{txt}(281 real changes made)

{com}. gen r19=.
{txt}(1002 missing values generated)

{com}. replace r19= -1.9678147 if s2q19==1
{txt}(294 real changes made)

{com}. gen r20=.
{txt}(1002 missing values generated)

{com}. replace r20= -1.7019834 if s2q20==1
{txt}(318 real changes made)

{com}. gen r21=.
{txt}(1002 missing values generated)

{com}. replace r21= -1.4999400 if s2q21==1
{txt}(323 real changes made)

{com}. gen r22=.
{txt}(1002 missing values generated)

{com}. replace r22= -1.3380214 if s2q22==1
{txt}(344 real changes made)

{com}. gen r23=.
{txt}(1002 missing values generated)

{com}. replace r23= -1.0892396 if s2q23==1
{txt}(361 real changes made)

{com}. gen r24=.
{txt}(1002 missing values generated)

{com}. replace r24= -0.9027205 if s2q24==1
{txt}(381 real changes made)

{com}. 
. ***Choose the upper limit for the first time the subject makes the patient choice in the 1 week vs. 2 week section.
. gen reservationr2=min(r13,r14,r15,r16,r17,r18,r19,r20,r21,r22,r23, r24)
{txt}(619 missing values generated)

{com}. 
. ***Each subject has an upper limit for the discount rate in now vs. 1 week and an upper limit for the discount rate in 1 week vs. two weeks. Rename these rateu_1 and rateu_2, respectively.
. rename reservationr1 rateu_1
{txt}
{com}. rename reservationr2 rateu_2
{txt}
{com}. ***Create a corresponding lower limit for each discount rate.
. gen ratel_1=. 
{txt}(1002 missing values generated)

{com}. gen ratel_2=.
{txt}(1002 missing values generated)

{com}. 
. ***Fill in the values for the lower limit of the discount rate.
. ***Note that log(x) returns the natural log of ln(x) 
. //replace ratel=. if rate==log(log(10.10/10))
. //replace ratel= log(log(10.10/10)) if rate==log(log(10.25/10))
. //replace ratel= log(log(10.25/10)) if rate==log(log(10.5/10))
. //replace ratel= log(log(10.5/10)) if rate==log(log(10.75/10))
. //replace ratel= log(log(10.75/10)) if rate==log(log(11/10))
. //replace ratel= log(log(11/10)) if rate==log(log(11.25/10))
. //replace ratel= log(log(11.25/10)) if rate==log(log(11.50/10))
. //replace ratel= log(log(11.50/10)) if rate==log(log(12/10))
. //replace ratel= log(log(12/10)) if rate==log(log(12.5/10))
. //replace ratel= log(log(12.5/10)) if rate==log(log(13/10))
. //replace ratel= log(log(13/10)) if rate==log(log(14/10))
. //replace ratel= log(log(14/10)) if rate==log(log(15/10))
. //replace ratel= log(log(15/10)) if rate==.
. 
. ***Fill in the values for the lower limit of the discount rate for now vs. 1 week. This only assigns a value to those who took part in this section.
. replace ratel_1=. if rateu_1 < -4.61 & s2q1 ~= .
{txt}(0 real changes made)

{com}. replace ratel_1= -4.6101494 if rateu_1 < -3.7 & rateu_1 > -4.61  & s2q1 ~= .
{txt}(29 real changes made)

{com}. replace ratel_1= -3.7012513 if rateu_1 < -3.02 & rateu_1 > -3.7  & s2q1 ~= .
{txt}(23 real changes made)

{com}. replace ratel_1= -3.0202265 if rateu_1 < -2.62 & rateu_1 > -3.02 & s2q1 ~= .
{txt}(11 real changes made)

{com}. replace ratel_1= -2.6266454 if rateu_1 < -2.35 & rateu_1 > -2.62 & s2q1 ~= .
{txt}(68 real changes made)

{com}. replace ratel_1= -2.350618  if rateu_1 < -2.13 & rateu_1 > -2.35 & s2q1 ~= .
{txt}(6 real changes made)

{com}. replace ratel_1= -2.1389110  if rateu_1 < -1.96 & rateu_1 > -2.13 & s2q1 ~= .
{txt}(11 real changes made)

{com}. replace ratel_1= -1.9678147  if rateu_1 < -1.70 & rateu_1 > -1.96 & s2q1 ~= .
{txt}(34 real changes made)

{com}. replace ratel_1= -1.7019834  if rateu_1 < -1.49 & rateu_1 > -1.70 & s2q1 ~= .
{txt}(9 real changes made)

{com}. replace ratel_1= -1.4999400  if rateu_1 < -1.33 & rateu_1 > -1.49 & s2q1 ~= .
{txt}(29 real changes made)

{com}. replace ratel_1= -1.3380214  if rateu_1 < -1.08 & rateu_1 > -1.33 & s2q1 ~= .
{txt}(17 real changes made)

{com}. replace ratel_1= -1.0892396  if rateu_1 < -0.90 & rateu_1 > -1.08 & s2q1 ~= .
{txt}(19 real changes made)

{com}. replace ratel_1= -0.9027205 if rateu_1 ==. & s2q1 ~= .
{txt}(16 real changes made)

{com}. 
. ***Fill in the values for the lower limit of the discount rate for 1 week vs. 2 week. This only assigns a value to those who took part in this section.
. replace ratel_2=. if rateu_2 < -4.61 & s2q1 ~= .
{txt}(0 real changes made)

{com}. replace ratel_2= -4.6101494 if rateu_2 < -3.7 & rateu_2 > -4.61 & s2q1 ~= .
{txt}(18 real changes made)

{com}. replace ratel_2= -3.7012513 if rateu_2 < -3.02 & rateu_2 > -3.7 & s2q1 ~= .
{txt}(18 real changes made)

{com}. replace ratel_2= -3.0202265 if rateu_2 < -2.62 & rateu_2 > -3.02 & s2q1 ~= .
{txt}(6 real changes made)

{com}. replace ratel_2= -2.6266454 if rateu_2 < -2.35 & rateu_2 > -2.62 & s2q1 ~= .
{txt}(71 real changes made)

{com}. replace ratel_2= -2.350618  if rateu_2 < -2.13 & rateu_2 > -2.35 & s2q1 ~= .
{txt}(7 real changes made)

{com}. replace ratel_2= -2.1389110  if rateu_2 < -1.96 & rateu_2 > -2.13 & s2q1 ~= .
{txt}(13 real changes made)

{com}. replace ratel_2= -1.9678147  if rateu_2 < -1.70 & rateu_2 > -1.96 & s2q1 ~= .
{txt}(23 real changes made)

{com}. replace ratel_2= -1.7019834  if rateu_2 < -1.49 & rateu_2 > -1.70 & s2q1 ~= .
{txt}(7 real changes made)

{com}. replace ratel_2= -1.4999400  if rateu_2 < -1.33 & rateu_2 > -1.49 & s2q1 ~= .
{txt}(21 real changes made)

{com}. replace ratel_2= -1.3380214  if rateu_2 < -1.08 & rateu_2 > -1.33 & s2q1 ~= .
{txt}(17 real changes made)

{com}. replace ratel_2= -1.0892396  if rateu_2 < -0.90 & rateu_2 > -1.08 & s2q1 ~= .
{txt}(19 real changes made)

{com}. replace ratel_2= -0.9027205 if rateu_2 ==. & s2q1 ~= .
{txt}(23 real changes made)

{com}. 
. 
. 
. 
. ***Risk Aversion
. 
. ***Generate upper limit for risk with small amounts
. gen risk1=.
{txt}(1002 missing values generated)

{com}. replace risk1=(1.6*0.5-1) if s3q1==1
{txt}(37 real changes made)

{com}. gen risk2=.
{txt}(1002 missing values generated)

{com}. replace risk2=(2*0.5-1) if s3q2==1
{txt}(111 real changes made)

{com}. gen risk3=.
{txt}(1002 missing values generated)

{com}. replace risk3=(2.4*0.5-1) if s3q3==1
{txt}(244 real changes made)

{com}. gen risk4=.
{txt}(1002 missing values generated)

{com}. replace risk4=(2.8*0.5-1) if s3q4==1
{txt}(342 real changes made)

{com}. gen risk5=.
{txt}(1002 missing values generated)

{com}. replace risk5=(3.2*0.5-1) if s3q5==1
{txt}(377 real changes made)

{com}. gen risk6=.
{txt}(1002 missing values generated)

{com}. replace risk6=(3.6*0.5-1) if s3q6==1
{txt}(390 real changes made)

{com}. 
. ***Choose the upper limit for the first time a subject chooses the risky asset with small amounts.
. gen reservationrisk1= min(risk1,risk2,risk3,risk4,risk5,risk6)
{txt}(607 missing values generated)

{com}. 
. ***Generate upper limit for risk with large amounts
. gen risk7=.
{txt}(1002 missing values generated)

{com}. replace risk7=(160*0.5-100)/100 if s4q1==1
{txt}(19 real changes made)

{com}. gen risk8=.
{txt}(1002 missing values generated)

{com}. replace risk8=(200*0.5-100)/100 if s4q2==1
{txt}(51 real changes made)

{com}. gen risk9=.
{txt}(1002 missing values generated)

{com}. replace risk9=(240*0.5-100)/100 if s4q3==1
{txt}(137 real changes made)

{com}. gen risk10=.
{txt}(1002 missing values generated)

{com}. replace risk10=(280*0.5-100)/100 if s4q4==1
{txt}(224 real changes made)

{com}. gen risk11=.
{txt}(1002 missing values generated)

{com}. replace risk11=(320*0.5-100)/100 if s4q5==1
{txt}(283 real changes made)

{com}. gen risk12=.
{txt}(1002 missing values generated)

{com}. replace risk12=(360*0.5-100)/100 if s4q6==1
{txt}(298 real changes made)

{com}. 
. ***Choose the upper limit for the first time a subject chooses the risky asset with large amounts.
. gen reservationrisk2= min(risk7,risk8,risk9,risk10,risk11,risk12)
{txt}(698 missing values generated)

{com}. 
. ***risku_1 and risku_2 are the upper limits for risky choices with small and large stakes, respectively.
. rename reservationrisk1 risku_1
{txt}
{com}. rename reservationrisk2 risku_2
{txt}
{com}. ***Create variables for the lower limits.
. gen riskl_1=.
{txt}(1002 missing values generated)

{com}. gen riskl_2=.
{txt}(1002 missing values generated)

{com}. 
. ***Assign values for the lower limit in small stakes. Only those who took participated in this section are assigned values.
. replace riskl_1=. if risku_1 < -.2  & s4q1 ~= .
{txt}(0 real changes made)

{com}. replace riskl_1=(1.6*0.5-1) if risku_1 == 0 & s4q1 ~= .
{txt}(76 real changes made)

{com}. replace riskl_1=(2*0.5-1) if risku_1 > .1 & risku_1 < .3 & s4q1 ~= .
{txt}(135 real changes made)

{com}. replace riskl_1=(2.4*0.5-1) if risku_1 > .3 & risku_1 < .5 & s4q1 ~= .
{txt}(97 real changes made)

{com}. replace riskl_1=(2.8*0.5-1) if risku_1 > .5 & risku_1 < .7 & s4q1 ~= .
{txt}(38 real changes made)

{com}. replace riskl_1=(3.2*0.5-1) if risku_1 > .7 & risku_1 < .9 & s4q1 ~= .
{txt}(12 real changes made)

{com}. replace riskl_1=(3.6*0.5-1) if risku_1 == . & s4q1 ~= .
{txt}(11 real changes made)

{com}. 
. ***Assign values for the lower limit in large stakes. Only those who took participated in this section are assigned values.
. replace riskl_2=. if risku_2 < -.2  & s4q1 ~= .
{txt}(0 real changes made)

{com}. replace riskl_2=(1.6*0.5-1) if risku_2 == 0 & s4q1 ~= .
{txt}(32 real changes made)

{com}. replace riskl_2=(2*0.5-1) if risku_2 > .1 & risku_2 < .3 & s4q1 ~= .
{txt}(90 real changes made)

{com}. replace riskl_2=(2.4*0.5-1) if risku_2 > .3 & risku_2 < .5 & s4q1 ~= .
{txt}(90 real changes made)

{com}. replace riskl_2=(2.8*0.5-1) if risku_2 > .5 & risku_2 < .7 & s4q1 ~= .
{txt}(59 real changes made)

{com}. replace riskl_2=(3.2*0.5-1) if risku_2 > .7 & risku_2 < .9 & s4q1 ~= .
{txt}(14 real changes made)

{com}. replace riskl_2=(3.6*0.5-1) if risku_2 == . & s4q1 ~= .
{txt}(102 real changes made)

{com}. 
. 
. ***Anagrams Attempted
. ***The corresponding variable is named "anagramsattempted"
. 
. ***Drop subjects who are not in our 4 religious groups
. drop if relig == .
{txt}(185 observations deleted)

{com}. 
. replace id = _n
{txt}(814 real changes made)

{com}. 
. ***Create the dependent variables. When p_i = d_i, the data is point data. When p_i ~= d_i, the data is interval data (only discount rate and risk aversion)
. rename contribute d1
{txt}
{com}. gen p1 = d1
{txt}(284 missing values generated)

{com}. rename beta d2
{txt}
{com}. gen p2 = d2
{txt}(474 missing values generated)

{com}. rename giveaway d3
{txt}
{com}. gen p3 = d3
{txt}(263 missing values generated)

{com}. rename ratel_1 d4
{txt}
{com}. rename rateu_1 p4
{txt}
{com}. rename ratel_2 d5
{txt}
{com}. rename rateu_2 p5
{txt}
{com}. rename riskl_1 d6
{txt}
{com}. rename risku_1 p6
{txt}
{com}. rename riskl_2 d7
{txt}
{com}. rename risku_2 p7
{txt}
{com}. rename anagramsattempted d8
{txt}
{com}. gen p8 = d8
{txt}(554 missing values generated)

{com}. *rename wageoffer d9
. *gen p9 = d9
. rename s6exp d9
{txt}
{com}. gen p9 = d9
{txt}(284 missing values generated)

{com}. 
. reshape long d p, i(id) j(section_num)
{txt}(note: j = 1 2 3 4 5 6 7 8 9)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}     817   {txt}->{res}    7353
{txt}Number of variables            {res}     270   {txt}->{res}     255
{txt}j variable (9 values)                     ->   {res}section_num
{txt}xij variables:
                           {res}d1 d2 ... d9   {txt}->   {res}d
                           p1 p2 ... p9   {txt}->   {res}p
{txt}{hline 77}

{com}. 
. ***Dummies for task type
. gen u1 = 0 //contribute
{txt}
{com}. replace u1 = 1 if section_num == 1 & d ~= .
{txt}(533 real changes made)

{com}. gen u2 = 0 //beta
{txt}
{com}. replace u2 = 1 if section_num == 2 & d ~= .
{txt}(343 real changes made)

{com}. gen u3 = 0 //giveaway
{txt}
{com}. replace u3 = 1 if section_num == 3 & d ~= .
{txt}(554 real changes made)

{com}. gen u4 = 0 //TP
{txt}
{com}. replace u4 = 1 if (section_num == 4 | section_num == 5) & (d ~= . | p ~= .)
{txt}(662 real changes made)

{com}. gen u5 = 0 //RP
{txt}
{com}. replace u5 = 1 if (section_num == 6 | section_num == 7) & (d ~= . | p ~= .)
{txt}(662 real changes made)

{com}. gen u6 = 0 //AN
{txt}
{com}. replace u6 = 1 if section_num == 8 & d ~= .
{txt}(263 real changes made)

{com}. gen u7 = 0 //s6exp (public good expectation)
{txt}
{com}. replace u7 = 1 if section_num == 9 & d ~= .
{txt}(533 real changes made)

{com}. 
. ***Additional controls
. gen onevstwo = 0
{txt}
{com}. replace onevstwo = 1 if section_num == 5
{txt}(817 real changes made)

{com}. gen largestakes = 0
{txt}
{com}. replace largestakes = 1 if section_num == 7
{txt}(817 real changes made)

{com}. 
. ***Treatment Dummies
. gen treatRpg = 0
{txt}
{com}. replace treatRpg = 1 if treatR == 1 & section_num == 1 & d ~= .
{txt}(267 real changes made)

{com}. gen treatRge = 0
{txt}
{com}. replace treatRge = 1 if treatR == 1 & section_num == 2 & d ~= .
{txt}(175 real changes made)

{com}. gen treatRdg = 0
{txt}
{com}. replace treatRdg = 1 if treatR == 1 & section_num == 3 & d ~= .
{txt}(276 real changes made)

{com}. gen treatRtp = 0
{txt}
{com}. replace treatRtp = 1 if treatR == 1 & (section_num == 4 | section_num == 5) & (d ~= . | p ~= .)
{txt}(320 real changes made)

{com}. gen treatRrp = 0
{txt}
{com}. replace treatRrp = 1 if treatR == 1 & (section_num == 6 | section_num == 7) & (d ~= . | p ~= .)
{txt}(320 real changes made)

{com}. gen treatRan = 0
{txt}
{com}. replace treatRan = 1 if treatR == 1 & section_num == 8 & d ~= .
{txt}(130 real changes made)

{com}. gen treatRtr = 0
{txt}
{com}. replace treatRtr = 1 if treatR == 1 & section_num == 9 & d ~= .
{txt}(267 real changes made)

{com}. 
. ***Religion interactions
. gen prot = 0
{txt}
{com}. replace prot = 1 if relig == 1
{txt}(2286 real changes made)

{com}. gen prot1 = prot * u1
{txt}
{com}. gen prot2 = prot * u2
{txt}
{com}. gen prot3 = prot * u3
{txt}
{com}. gen prot4 = prot * u4
{txt}
{com}. gen prot5 = prot * u5
{txt}
{com}. gen prot6 = prot * u6
{txt}
{com}. gen prot7 = prot * u7
{txt}
{com}. gen prot8 = prot * onevstwo
{txt}
{com}. gen prot9 = prot * largestakes
{txt}
{com}. gen prot10 = prot * treatRpg
{txt}
{com}. gen prot11 = prot * treatRge 
{txt}
{com}. gen prot12 = prot * treatRdg 
{txt}
{com}. gen prot13 = prot * treatRtp 
{txt}
{com}. gen prot14 = prot * treatRrp 
{txt}
{com}. gen prot15 = prot * treatRan 
{txt}
{com}. gen prot16 = prot * treatRtr
{txt}
{com}. 
. gen cath = 0
{txt}
{com}. replace cath = 1 if relig == 2
{txt}(1791 real changes made)

{com}. gen cath1 = cath * u1
{txt}
{com}. gen cath2 = cath * u2
{txt}
{com}. gen cath3 = cath * u3
{txt}
{com}. gen cath4 = cath * u4
{txt}
{com}. gen cath5 = cath * u5
{txt}
{com}. gen cath6 = cath * u6
{txt}
{com}. gen cath7 = cath * u7
{txt}
{com}. gen cath8 = cath * onevstwo
{txt}
{com}. gen cath9 = cath * largestakes
{txt}
{com}. gen cath10 = cath * treatRpg
{txt}
{com}. gen cath11 = cath * treatRge 
{txt}
{com}. gen cath12 = cath * treatRdg 
{txt}
{com}. gen cath13 = cath * treatRtp 
{txt}
{com}. gen cath14 = cath * treatRrp 
{txt}
{com}. gen cath15 = cath * treatRan 
{txt}
{com}. gen cath16 = cath * treatRtr
{txt}
{com}. 
. gen jewi = 0
{txt}
{com}. replace jewi = 1 if relig == 3
{txt}(855 real changes made)

{com}. gen jewi1 = jewi * u1
{txt}
{com}. gen jewi2 = jewi * u2
{txt}
{com}. gen jewi3 = jewi * u3
{txt}
{com}. gen jewi4 = jewi * u4
{txt}
{com}. gen jewi5 = jewi * u5
{txt}
{com}. gen jewi6 = jewi * u6
{txt}
{com}. gen jewi7 = jewi * u7
{txt}
{com}. gen jewi8 = jewi * onevstwo
{txt}
{com}. gen jewi9 = jewi * largestakes
{txt}
{com}. gen jewi10 = jewi * treatRpg
{txt}
{com}. gen jewi11 = jewi * treatRge 
{txt}
{com}. gen jewi12 = jewi * treatRdg 
{txt}
{com}. gen jewi13 = jewi * treatRtp 
{txt}
{com}. gen jewi14 = jewi * treatRrp 
{txt}
{com}. gen jewi15 = jewi * treatRan
{txt}
{com}. gen jewi16 = jewi * treatRtr
{txt}
{com}. 
. gen atag = 0
{txt}
{com}. replace atag = 1 if relig == 4
{txt}(2421 real changes made)

{com}. gen atag1 = atag * u1
{txt}
{com}. gen atag2 = atag * u2
{txt}
{com}. gen atag3 = atag * u3
{txt}
{com}. gen atag4 = atag * u4
{txt}
{com}. gen atag5 = atag * u5
{txt}
{com}. gen atag6 = atag * u6
{txt}
{com}. gen atag7 = atag * u7
{txt}
{com}. gen atag8 = atag * onevstwo
{txt}
{com}. gen atag9 = atag * largestakes
{txt}
{com}. gen atag10 = atag * treatRpg
{txt}
{com}. gen atag11 = atag * treatRge 
{txt}
{com}. gen atag12 = atag * treatRdg 
{txt}
{com}. gen atag13 = atag * treatRtp 
{txt}
{com}. gen atag14 = atag * treatRrp 
{txt}
{com}. gen atag15 = atag * treatRan
{txt}
{com}. gen atag16 = atag * treatRtr
{txt}
{com}. 
. intreg d p prot1 prot2 prot3 prot4 prot5 prot6 prot7 prot8 prot9 prot10 prot11 prot12 prot13 prot14 prot15 prot16 cath1 cath2 cath3 cath4 cath5 cath6 cath7 cath8 cath9 cath10 cath11 cath12 cath13 cath14 cath15 cath16 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 jewi8 jewi9 jewi10 jewi11 jewi12 jewi13 jewi14 jewi15 jewi16 atag1 atag2 atag3 atag4 atag5 atag6 atag7 atag8 atag9 atag10 atag11 atag12 atag13 atag14 atag15 atag16 , noconstant het(prot1 prot2 prot3 prot4 prot5 prot6 prot7 cath1 cath2 cath3 cath4 cath5 cath6 cath7 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 atag1 atag2 atag3 atag4 atag5 atag6 atag7) cluster(id)
{txt}note: atag7 omitted because of collinearity

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-18486.787}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-17008.183}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-15868.999}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-12818.174}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res: -6296.131}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-3045.9239}  (not concave)
Iteration 6:{space 3}log pseudolikelihood = {res:-2594.6501}  
Iteration 7:{space 3}log pseudolikelihood = {res:-2310.6838}  
Iteration 8:{space 3}log pseudolikelihood = {res:-2225.5672}  
Iteration 9:{space 3}log pseudolikelihood = {res:-2223.1287}  
Iteration 10:{space 2}log pseudolikelihood = {res:-2223.1167}  
Iteration 11:{space 2}log pseudolikelihood = {res:-2223.1167}  
{res}
{txt}Interval regression{col 51}Number of obs{col 67}= {res}      3550
{txt}{col 51}Wald chi2({res}64{txt}){col 67}= {res}   5488.59
{txt}Log pseudolikelihood = {res}-2223.1167{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:817} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}model        {txt}{c |}
{space 7}prot1 {c |}{col 14}{res}{space 2} .5278571{col 26}{space 2} .0467093{col 37}{space 1}   11.30{col 46}{space 3}0.000{col 54}{space 4} .4363087{col 67}{space 3} .6194056
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2} .0008598{col 26}{space 2} .0001166{col 37}{space 1}    7.37{col 46}{space 3}0.000{col 54}{space 4} .0006313{col 67}{space 3} .0010884
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2} .2144944{col 26}{space 2}  .032462{col 37}{space 1}    6.61{col 46}{space 3}0.000{col 54}{space 4}   .15087{col 67}{space 3} .2781188
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2}-3.027213{col 26}{space 2} .2592555{col 37}{space 1}  -11.68{col 46}{space 3}0.000{col 54}{space 4}-3.535344{col 67}{space 3}-2.519081
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .2344143{col 26}{space 2} .0485873{col 37}{space 1}    4.82{col 46}{space 3}0.000{col 54}{space 4}  .139185{col 67}{space 3} .3296437
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2} 29.02564{col 26}{space 2} 1.744842{col 37}{space 1}   16.64{col 46}{space 3}0.000{col 54}{space 4} 25.60581{col 67}{space 3} 32.44547
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2}  .597619{col 26}{space 2} .0335331{col 37}{space 1}   17.82{col 46}{space 3}0.000{col 54}{space 4} .5318954{col 67}{space 3} .6633426
{txt}{space 7}prot8 {c |}{col 14}{res}{space 2} .0044334{col 26}{space 2} .1088734{col 37}{space 1}    0.04{col 46}{space 3}0.968{col 54}{space 4}-.2089545{col 67}{space 3} .2178212
{txt}{space 7}prot9 {c |}{col 14}{res}{space 2} .2736465{col 26}{space 2}  .045504{col 37}{space 1}    6.01{col 46}{space 3}0.000{col 54}{space 4} .1844602{col 67}{space 3} .3628327
{txt}{space 6}prot10 {c |}{col 14}{res}{space 2} .1568555{col 26}{space 2}  .061288{col 37}{space 1}    2.56{col 46}{space 3}0.010{col 54}{space 4} .0367332{col 67}{space 3} .2769778
{txt}{space 6}prot11 {c |}{col 14}{res}{space 2} .0000414{col 26}{space 2} .0001586{col 37}{space 1}    0.26{col 46}{space 3}0.794{col 54}{space 4}-.0002694{col 67}{space 3} .0003522
{txt}{space 6}prot12 {c |}{col 14}{res}{space 2}-.0234717{col 26}{space 2} .0429624{col 37}{space 1}   -0.55{col 46}{space 3}0.585{col 54}{space 4}-.1076764{col 67}{space 3} .0607331
{txt}{space 6}prot13 {c |}{col 14}{res}{space 2} .3500305{col 26}{space 2} .3555527{col 37}{space 1}    0.98{col 46}{space 3}0.325{col 54}{space 4}  -.34684{col 67}{space 3} 1.046901
{txt}{space 6}prot14 {c |}{col 14}{res}{space 2}-.0315487{col 26}{space 2} .0626904{col 37}{space 1}   -0.50{col 46}{space 3}0.615{col 54}{space 4}-.1544197{col 67}{space 3} .0913222
{txt}{space 6}prot15 {c |}{col 14}{res}{space 2}-.7098516{col 26}{space 2} 2.406605{col 37}{space 1}   -0.29{col 46}{space 3}0.768{col 54}{space 4}-5.426711{col 67}{space 3} 4.007008
{txt}{space 6}prot16 {c |}{col 14}{res}{space 2} .0264039{col 26}{space 2} .0466898{col 37}{space 1}    0.57{col 46}{space 3}0.572{col 54}{space 4}-.0651064{col 67}{space 3} .1179143
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .7022222{col 26}{space 2} .0479814{col 37}{space 1}   14.64{col 46}{space 3}0.000{col 54}{space 4} .6081805{col 67}{space 3} .7962639
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2} .0007882{col 26}{space 2} .0001377{col 37}{space 1}    5.72{col 46}{space 3}0.000{col 54}{space 4} .0005183{col 67}{space 3}  .001058
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2} .1720313{col 26}{space 2} .0355013{col 37}{space 1}    4.85{col 46}{space 3}0.000{col 54}{space 4}   .10245{col 67}{space 3} .2416125
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2}-3.526361{col 26}{space 2} .3594196{col 37}{space 1}   -9.81{col 46}{space 3}0.000{col 54}{space 4} -4.23081{col 67}{space 3}-2.821911
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2} .2090108{col 26}{space 2} .0487258{col 37}{space 1}    4.29{col 46}{space 3}0.000{col 54}{space 4} .1135099{col 67}{space 3} .3045117
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} 31.08824{col 26}{space 2} 2.846445{col 37}{space 1}   10.92{col 46}{space 3}0.000{col 54}{space 4} 25.50931{col 67}{space 3} 36.66716
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .7339683{col 26}{space 2} .0382141{col 37}{space 1}   19.21{col 46}{space 3}0.000{col 54}{space 4}   .65907{col 67}{space 3} .8088665
{txt}{space 7}cath8 {c |}{col 14}{res}{space 2}-.1655479{col 26}{space 2}  .173758{col 37}{space 1}   -0.95{col 46}{space 3}0.341{col 54}{space 4}-.5061074{col 67}{space 3} .1750116
{txt}{space 7}cath9 {c |}{col 14}{res}{space 2} .3059685{col 26}{space 2} .0514511{col 37}{space 1}    5.95{col 46}{space 3}0.000{col 54}{space 4} .2051262{col 67}{space 3} .4068109
{txt}{space 6}cath10 {c |}{col 14}{res}{space 2}-.1834222{col 26}{space 2} .0677962{col 37}{space 1}   -2.71{col 46}{space 3}0.007{col 54}{space 4}-.3163003{col 67}{space 3}-.0505441
{txt}{space 6}cath11 {c |}{col 14}{res}{space 2} .0000522{col 26}{space 2} .0001746{col 37}{space 1}    0.30{col 46}{space 3}0.765{col 54}{space 4}-.0002899{col 67}{space 3} .0003944
{txt}{space 6}cath12 {c |}{col 14}{res}{space 2}-.0373646{col 26}{space 2}  .043551{col 37}{space 1}   -0.86{col 46}{space 3}0.391{col 54}{space 4}-.1227229{col 67}{space 3} .0479937
{txt}{space 6}cath13 {c |}{col 14}{res}{space 2}  .426943{col 26}{space 2} .4937353{col 37}{space 1}    0.86{col 46}{space 3}0.387{col 54}{space 4}-.5407604{col 67}{space 3} 1.394647
{txt}{space 6}cath14 {c |}{col 14}{res}{space 2}-.1137943{col 26}{space 2} .0678316{col 37}{space 1}   -1.68{col 46}{space 3}0.093{col 54}{space 4}-.2467417{col 67}{space 3} .0191531
{txt}{space 6}cath15 {c |}{col 14}{res}{space 2} 1.757919{col 26}{space 2} 3.911457{col 37}{space 1}    0.45{col 46}{space 3}0.653{col 54}{space 4}-5.908397{col 67}{space 3} 9.424234
{txt}{space 6}cath16 {c |}{col 14}{res}{space 2}-.1183683{col 26}{space 2}  .052374{col 37}{space 1}   -2.26{col 46}{space 3}0.024{col 54}{space 4}-.2210194{col 67}{space 3}-.0157171
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .5584375{col 26}{space 2}   .07433{col 37}{space 1}    7.51{col 46}{space 3}0.000{col 54}{space 4} .4127534{col 67}{space 3} .7041216
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2} .0004717{col 26}{space 2} .0001548{col 37}{space 1}    3.05{col 46}{space 3}0.002{col 54}{space 4} .0001683{col 67}{space 3} .0007751
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}      .14{col 26}{space 2} .0428815{col 37}{space 1}    3.26{col 46}{space 3}0.001{col 54}{space 4} .0559538{col 67}{space 3} .2240462
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-3.620711{col 26}{space 2} .4333874{col 37}{space 1}   -8.35{col 46}{space 3}0.000{col 54}{space 4}-4.470135{col 67}{space 3}-2.771287
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2} .0925979{col 26}{space 2} .0406878{col 37}{space 1}    2.28{col 46}{space 3}0.023{col 54}{space 4} .0128511{col 67}{space 3} .1723446
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 33.64706{col 26}{space 2} 4.340422{col 37}{space 1}    7.75{col 46}{space 3}0.000{col 54}{space 4} 25.13999{col 67}{space 3} 42.15413
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}  .611875{col 26}{space 2} .0520036{col 37}{space 1}   11.77{col 46}{space 3}0.000{col 54}{space 4} .5099499{col 67}{space 3} .7138001
{txt}{space 7}jewi8 {c |}{col 14}{res}{space 2}-.3701413{col 26}{space 2} .2659545{col 37}{space 1}   -1.39{col 46}{space 3}0.164{col 54}{space 4}-.8914025{col 67}{space 3}   .15112
{txt}{space 7}jewi9 {c |}{col 14}{res}{space 2} .2601205{col 26}{space 2} .0664489{col 37}{space 1}    3.91{col 46}{space 3}0.000{col 54}{space 4} .1298831{col 67}{space 3} .3903579
{txt}{space 6}jewi10 {c |}{col 14}{res}{space 2} .0115625{col 26}{space 2} .1134248{col 37}{space 1}    0.10{col 46}{space 3}0.919{col 54}{space 4} -.210746{col 67}{space 3}  .233871
{txt}{space 6}jewi11 {c |}{col 14}{res}{space 2} .0005985{col 26}{space 2} .0002635{col 37}{space 1}    2.27{col 46}{space 3}0.023{col 54}{space 4} .0000821{col 67}{space 3} .0011149
{txt}{space 6}jewi12 {c |}{col 14}{res}{space 2} .0062963{col 26}{space 2} .0643335{col 37}{space 1}    0.10{col 46}{space 3}0.922{col 54}{space 4} -.119795{col 67}{space 3} .1323876
{txt}{space 6}jewi13 {c |}{col 14}{res}{space 2} .3258263{col 26}{space 2} .5636717{col 37}{space 1}    0.58{col 46}{space 3}0.563{col 54}{space 4}-.7789499{col 67}{space 3} 1.430603
{txt}{space 6}jewi14 {c |}{col 14}{res}{space 2} .0214262{col 26}{space 2}  .056416{col 37}{space 1}    0.38{col 46}{space 3}0.704{col 54}{space 4}-.0891471{col 67}{space 3} .1319996
{txt}{space 6}jewi15 {c |}{col 14}{res}{space 2} 4.915441{col 26}{space 2} 5.804579{col 37}{space 1}    0.85{col 46}{space 3}0.397{col 54}{space 4}-6.461324{col 67}{space 3} 16.29221
{txt}{space 6}jewi16 {c |}{col 14}{res}{space 2} .0789583{col 26}{space 2} .0776773{col 37}{space 1}    1.02{col 46}{space 3}0.309{col 54}{space 4}-.0732864{col 67}{space 3} .2312031
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2} .4867816{col 26}{space 2} .0428912{col 37}{space 1}   11.35{col 46}{space 3}0.000{col 54}{space 4} .4027164{col 67}{space 3} .5708468
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2} .0009375{col 26}{space 2} .0001199{col 37}{space 1}    7.82{col 46}{space 3}0.000{col 54}{space 4} .0007026{col 67}{space 3} .0011725
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2} .1651111{col 26}{space 2} .0242413{col 37}{space 1}    6.81{col 46}{space 3}0.000{col 54}{space 4} .1175991{col 67}{space 3} .2126231
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2}-4.396184{col 26}{space 2} .4139794{col 37}{space 1}  -10.62{col 46}{space 3}0.000{col 54}{space 4}-5.207569{col 67}{space 3}  -3.5848
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2} .1600286{col 26}{space 2} .0342693{col 37}{space 1}    4.67{col 46}{space 3}0.000{col 54}{space 4} .0928621{col 67}{space 3} .2271951
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} 32.02326{col 26}{space 2} 1.763462{col 37}{space 1}   18.16{col 46}{space 3}0.000{col 54}{space 4} 28.56693{col 67}{space 3} 35.47958
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2} .5248276{col 26}{space 2} .0319085{col 37}{space 1}   16.45{col 46}{space 3}0.000{col 54}{space 4}  .462288{col 67}{space 3} .5873671
{txt}{space 7}atag8 {c |}{col 14}{res}{space 2} -.296386{col 26}{space 2} .1721581{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.6338096{col 67}{space 3} .0410376
{txt}{space 7}atag9 {c |}{col 14}{res}{space 2} .2640933{col 26}{space 2} .0417038{col 37}{space 1}    6.33{col 46}{space 3}0.000{col 54}{space 4} .1823553{col 67}{space 3} .3458313
{txt}{space 6}atag10 {c |}{col 14}{res}{space 2} .1186505{col 26}{space 2} .0628881{col 37}{space 1}    1.89{col 46}{space 3}0.059{col 54}{space 4}-.0046079{col 67}{space 3} .2419089
{txt}{space 6}atag11 {c |}{col 14}{res}{space 2}-.0002045{col 26}{space 2} .0001554{col 37}{space 1}   -1.32{col 46}{space 3}0.188{col 54}{space 4}-.0005091{col 67}{space 3} .0001001
{txt}{space 6}atag12 {c |}{col 14}{res}{space 2} -.054646{col 26}{space 2} .0317179{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.1168119{col 67}{space 3} .0075199
{txt}{space 6}atag13 {c |}{col 14}{res}{space 2} .0838184{col 26}{space 2} .5032772{col 37}{space 1}    0.17{col 46}{space 3}0.868{col 54}{space 4}-.9025868{col 67}{space 3} 1.070224
{txt}{space 6}atag14 {c |}{col 14}{res}{space 2} -.115996{col 26}{space 2} .0521825{col 37}{space 1}   -2.22{col 46}{space 3}0.026{col 54}{space 4}-.2182718{col 67}{space 3}-.0137203
{txt}{space 6}atag15 {c |}{col 14}{res}{space 2} 2.116744{col 26}{space 2} 2.607666{col 37}{space 1}    0.81{col 46}{space 3}0.417{col 54}{space 4}-2.994187{col 67}{space 3} 7.227676
{txt}{space 6}atag16 {c |}{col 14}{res}{space 2} .0875181{col 26}{space 2} .0470391{col 37}{space 1}    1.86{col 46}{space 3}0.063{col 54}{space 4}-.0046768{col 67}{space 3}  .179713
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}lnsigma      {txt}{c |}
{space 7}prot1 {c |}{col 14}{res}{space 2}   .27298{col 26}{space 2} .0500884{col 37}{space 1}    5.45{col 46}{space 3}0.000{col 54}{space 4} .1748085{col 67}{space 3} .3711515
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2}-5.946661{col 26}{space 2} .0652645{col 37}{space 1}  -91.12{col 46}{space 3}0.000{col 54}{space 4}-6.074577{col 67}{space 3}-5.818745
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2}-.0615302{col 26}{space 2}  .075369{col 37}{space 1}   -0.82{col 46}{space 3}0.414{col 54}{space 4}-.2092508{col 67}{space 3} .0861903
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2} 1.849388{col 26}{space 2}  .093217{col 37}{space 1}   19.84{col 46}{space 3}0.000{col 54}{space 4} 1.666687{col 67}{space 3}  2.03209
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .2487036{col 26}{space 2} .0851211{col 37}{space 1}    2.92{col 46}{space 3}0.003{col 54}{space 4} .0818694{col 67}{space 3} .4155379
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2} 3.547879{col 26}{space 2} .0770152{col 37}{space 1}   46.07{col 46}{space 3}0.000{col 54}{space 4} 3.396932{col 67}{space 3} 3.698826
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2} .0032097{col 26}{space 2} .0576661{col 37}{space 1}    0.06{col 46}{space 3}0.956{col 54}{space 4}-.1098138{col 67}{space 3} .1162331
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .2730007{col 26}{space 2} .0531135{col 37}{space 1}    5.14{col 46}{space 3}0.000{col 54}{space 4} .1689001{col 67}{space 3} .3771013
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2}-5.929643{col 26}{space 2} .0690063{col 37}{space 1}  -85.93{col 46}{space 3}0.000{col 54}{space 4}-6.064893{col 67}{space 3}-5.794393
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2}-.1930229{col 26}{space 2} .0916858{col 37}{space 1}   -2.11{col 46}{space 3}0.035{col 54}{space 4}-.3727238{col 67}{space 3} -.013322
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2} 1.972004{col 26}{space 2} .1052199{col 37}{space 1}   18.74{col 46}{space 3}0.000{col 54}{space 4} 1.765777{col 67}{space 3} 2.178231
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2} .1652505{col 26}{space 2} .0878029{col 37}{space 1}    1.88{col 46}{space 3}0.060{col 54}{space 4}  -.00684{col 67}{space 3}  .337341
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} 3.924591{col 26}{space 2} .1775324{col 37}{space 1}   22.11{col 46}{space 3}0.000{col 54}{space 4} 3.576634{col 67}{space 3} 4.272549
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .0094374{col 26}{space 2} .0592168{col 37}{space 1}    0.16{col 46}{space 3}0.873{col 54}{space 4}-.1066253{col 67}{space 3} .1255001
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .3230156{col 26}{space 2} .0577789{col 37}{space 1}    5.59{col 46}{space 3}0.000{col 54}{space 4} .2097711{col 67}{space 3} .4362601
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2}-5.914573{col 26}{space 2} .0943423{col 37}{space 1}  -62.69{col 46}{space 3}0.000{col 54}{space 4}-6.099481{col 67}{space 3}-5.729666
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}-.1891885{col 26}{space 2} .1410495{col 37}{space 1}   -1.34{col 46}{space 3}0.180{col 54}{space 4}-.4656404{col 67}{space 3} .0872634
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2} 1.807709{col 26}{space 2}  .115329{col 37}{space 1}   15.67{col 46}{space 3}0.000{col 54}{space 4} 1.581668{col 67}{space 3}  2.03375
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-.1452585{col 26}{space 2} .1081383{col 37}{space 1}   -1.34{col 46}{space 3}0.179{col 54}{space 4}-.3572056{col 67}{space 3} .0666887
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 4.007937{col 26}{space 2} .1375451{col 37}{space 1}   29.14{col 46}{space 3}0.000{col 54}{space 4} 3.738353{col 67}{space 3}  4.27752
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}-.0501228{col 26}{space 2} .0842167{col 37}{space 1}   -0.60{col 46}{space 3}0.552{col 54}{space 4}-.2151845{col 67}{space 3} .1149389
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2} .2907375{col 26}{space 2}  .035603{col 37}{space 1}    8.17{col 46}{space 3}0.000{col 54}{space 4} .2209569{col 67}{space 3} .3605181
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2}-5.906942{col 26}{space 2} .0630046{col 37}{space 1}  -93.75{col 46}{space 3}0.000{col 54}{space 4}-6.030429{col 67}{space 3}-5.783455
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2}-.3645592{col 26}{space 2} .0773931{col 37}{space 1}   -4.71{col 46}{space 3}0.000{col 54}{space 4}-.5162469{col 67}{space 3}-.2128714
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2} 2.048283{col 26}{space 2} .0855026{col 37}{space 1}   23.96{col 46}{space 3}0.000{col 54}{space 4} 1.880701{col 67}{space 3} 2.215866
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2} .0437273{col 26}{space 2}  .081319{col 37}{space 1}    0.54{col 46}{space 3}0.591{col 54}{space 4} -.115655{col 67}{space 3} .2031096
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} 3.730936{col 26}{space 2} .1103425{col 37}{space 1}   33.81{col 46}{space 3}0.000{col 54}{space 4} 3.514668{col 67}{space 3} 3.947203
{txt}{space 7}atag7 {c |}{col 14}{res}  (omitted)
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.190768{col 26}{space 2} .0402926{col 37}{space 1}  -29.55{col 46}{space 3}0.000{col 54}{space 4} -1.26974{col 67}{space 3}-1.111796
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

  Observation summary:{col 24}{res}      282{col 34}{txt} left-censored observations
{col 24}{res}     2226{col 34}{txt}    uncensored observations
{col 24}{res}      132{col 34}{txt}right-censored observations
{col 24}{res}      910{col 34}{txt}      interval observations

{com}. 
. test (prot10 = 0) (prot11 = 0) (prot12 = 0) (prot13 = 0) (prot14 = 0) (prot15 = 0) (prot16 = 0) (cath10 = 0) (cath11 = 0) (cath12 = 0) (cath13 = 0) (cath14 = 0) (cath15 = 0) (cath16 = 0) (jewi10 = 0) (jewi11 = 0) (jewi12 = 0) (jewi13 = 0) (jewi14 = 0) (jewi15 = 0) (jewi16 = 0) (atag10 = 0) (atag11 = 0) (atag12 = 0) (atag13 = 0) (atag14 = 0) (atag15 = 0) (atag16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]prot10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]prot11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]prot12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]prot13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]prot14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]prot15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]prot16 = 0{p_end}
{p 0 7}{space 1}{text:( 8)}{space 1} [model]cath10 = 0{p_end}
{p 0 7}{space 1}{text:( 9)}{space 1} [model]cath11 = 0{p_end}
{p 0 7}{space 1}{text:(10)}{space 1} [model]cath12 = 0{p_end}
{p 0 7}{space 1}{text:(11)}{space 1} [model]cath13 = 0{p_end}
{p 0 7}{space 1}{text:(12)}{space 1} [model]cath14 = 0{p_end}
{p 0 7}{space 1}{text:(13)}{space 1} [model]cath15 = 0{p_end}
{p 0 7}{space 1}{text:(14)}{space 1} [model]cath16 = 0{p_end}
{p 0 7}{space 1}{text:(15)}{space 1} [model]jewi10 = 0{p_end}
{p 0 7}{space 1}{text:(16)}{space 1} [model]jewi11 = 0{p_end}
{p 0 7}{space 1}{text:(17)}{space 1} [model]jewi12 = 0{p_end}
{p 0 7}{space 1}{text:(18)}{space 1} [model]jewi13 = 0{p_end}
{p 0 7}{space 1}{text:(19)}{space 1} [model]jewi14 = 0{p_end}
{p 0 7}{space 1}{text:(20)}{space 1} [model]jewi15 = 0{p_end}
{p 0 7}{space 1}{text:(21)}{space 1} [model]jewi16 = 0{p_end}
{p 0 7}{space 1}{text:(22)}{space 1} [model]atag10 = 0{p_end}
{p 0 7}{space 1}{text:(23)}{space 1} [model]atag11 = 0{p_end}
{p 0 7}{space 1}{text:(24)}{space 1} [model]atag12 = 0{p_end}
{p 0 7}{space 1}{text:(25)}{space 1} [model]atag13 = 0{p_end}
{p 0 7}{space 1}{text:(26)}{space 1} [model]atag14 = 0{p_end}
{p 0 7}{space 1}{text:(27)}{space 1} [model]atag15 = 0{p_end}
{p 0 7}{space 1}{text:(28)}{space 1} [model]atag16 = 0{p_end}

{txt}{col 12}chi2( 28) ={res}   51.24
{txt}{col 10}Prob > chi2 =  {res}  0.0047
{txt}
{com}. 
. 
. 
. 
. *including manager's wage offer
. clear all
{txt}
{com}. set mem 150m
{txt}(153600k)

{com}. set more off
{txt}
{com}. 
. use "/Users/gwf25/Dropbox/research/religion/final code/religion_all.dta"
{txt}
{com}. 
. //  Begin definition of variables
. 
. ***Drop subjects who thought the experiment was about religion
. gen id = _n
{txt}
{com}. drop if id == 98 | id == 176 | id == 194 | id == 383
{txt}(4 observations deleted)

{com}. 
. ***Drop subjects who incorrectly completed the priming task. This includes subjects who leave more than half the responses blank. The following subjects
. ***all left at least questions #2-#7 blank in the sentence unscrambling task. 
. drop if id==7 | id==719 | id==740 | id==762 | id==940
{txt}(5 observations deleted)

{com}. 
. ***An error led to some subjects seeing both the control and religion salient sentence unscrambling tasks. Here, we drop those subjects.
. drop if prime_diff == 1
{txt}(2 observations deleted)

{com}. 
. ***"skipped" is a dummy variable for whether subjects skip the question that asks their religion. If they skip this question, we drop them from the sample 
. ***and if not, we assign a dummy variable to indicate the treatment group (religion salient or control) that subject belongs to.
. gen skipped=0
{txt}
{com}. replace skipped=1 if  s10q15==""
{txt}(21 real changes made)

{com}. gen treatR=.
{txt}(1033 missing values generated)

{com}. replace treatR=religion if skipped==0
{txt}(1012 real changes made)

{com}. drop if skipped==1
{txt}(21 observations deleted)

{com}. 
. ***Define religion
. gen relig=.
{txt}(1012 missing values generated)

{com}. 
. ***Note: 1 = protestant or other christian, 2 = catholic, 3 = jewish, 4 = agnostic/atheist
. replace relig=1 if (s10q15=="Christian - Other (please specify below)" | s10q15=="Christian - Protestant (please specify denomination below)")
{txt}(264 real changes made)

{com}. replace relig=2 if s10q15=="Christian - Catholic"
{txt}(199 real changes made)

{com}. replace relig=3 if s10q15=="Jewish (Orthodox/Reformed/etc.)" | s10q15=="Jewish (Orthodox/Reform/etc.)"
{txt}(95 real changes made)

{com}. replace relig=4 if (s10q15=="Agnostic" | s10q15=="Atheist")
{txt}(269 real changes made)

{com}. 
. ***Drop Mormon/Othodox Christians from the sample
. drop if s10q15sp == "Greek Orthodox"
{txt}(2 observations deleted)

{com}. drop if s10q15sp == "Russian Othrodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "greek orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Orthodox Christian"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthdox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "christian orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthodox Christian"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Russian orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Church of Jesus Christ of Latter Day Saints"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthodox"
{txt}(0 observations deleted)

{com}. 
. drop id
{txt}
{com}. // End of variables
. 
. ****Create dependent variables to run in F-test****
. 
. 
. ***Wageoffer
. rename m wageoffer
{txt}
{com}. 
. ***Slope from regression of work cost on wages
. ***Create the cost, cXXX, for providing a certain amount of effort at eXXX. A certain monetary cost is associated with each level of output. So, we have:
. ***[eXXX, cXXX] = [(1,$0.00),(2,$0.04),(3,$0.08),(4,$0.16),(5,$0.24),(6,$0.32),(7,$0.40),(8,$0.48),(9,$0.60),(10,$0.72)]
. gen c000 = .
{txt}(1002 missing values generated)

{com}. replace c000 = 0 if e000 == 1
{txt}(423 real changes made)

{com}. replace c000 = .04 if e000 == 2
{txt}(2 real changes made)

{com}. replace c000 = .08 if e000 == 3
{txt}(0 real changes made)

{com}. replace c000 = .16 if e000 == 4
{txt}(1 real change made)

{com}. replace c000 = .24 if e000 == 5
{txt}(0 real changes made)

{com}. replace c000 = .32 if e000 == 6
{txt}(0 real changes made)

{com}. replace c000 = .40 if e000 == 7
{txt}(0 real changes made)

{com}. replace c000 = .48 if e000 == 8
{txt}(0 real changes made)

{com}. replace c000 = .60 if e000 == 9
{txt}(0 real changes made)

{com}. replace c000 = .72 if e000 == 10
{txt}(1 real change made)

{com}. 
. gen c050 = .
{txt}(1002 missing values generated)

{com}. replace c050 = 0 if e050 == 1
{txt}(315 real changes made)

{com}. replace c050 = .04 if e050 == 2
{txt}(78 real changes made)

{com}. replace c050 = .08 if e050 == 3
{txt}(25 real changes made)

{com}. replace c050 = .16 if e050 == 4
{txt}(3 real changes made)

{com}. replace c050 = .24 if e050 == 5
{txt}(2 real changes made)

{com}. replace c050 = .32 if e050 == 6
{txt}(0 real changes made)

{com}. replace c050 = .40 if e050 == 7
{txt}(1 real change made)

{com}. replace c050 = .48 if e050 == 8
{txt}(0 real changes made)

{com}. replace c050 = .60 if e050 == 9
{txt}(2 real changes made)

{com}. replace c050 = .72 if e050 == 10
{txt}(1 real change made)

{com}. 
. gen c100 = .
{txt}(1002 missing values generated)

{com}. replace c100 = 0 if e100 == 1
{txt}(216 real changes made)

{com}. replace c100 = .04 if e100 == 2
{txt}(68 real changes made)

{com}. replace c100 = .08 if e100 == 3
{txt}(97 real changes made)

{com}. replace c100 = .16 if e100 == 4
{txt}(31 real changes made)

{com}. replace c100 = .24 if e100 == 5
{txt}(11 real changes made)

{com}. replace c100 = .32 if e100 == 6
{txt}(0 real changes made)

{com}. replace c100 = .40 if e100 == 7
{txt}(2 real changes made)

{com}. replace c100 = .48 if e100 == 8
{txt}(0 real changes made)

{com}. replace c100 = .60 if e100 == 9
{txt}(1 real change made)

{com}. replace c100 = .72 if e100 == 10
{txt}(1 real change made)

{com}. 
. gen c150 = .
{txt}(1002 missing values generated)

{com}. replace c150 = 0 if e150 == 1
{txt}(181 real changes made)

{com}. replace c150 = .04 if e150 == 2
{txt}(41 real changes made)

{com}. replace c150 = .08 if e150 == 3
{txt}(56 real changes made)

{com}. replace c150 = .16 if e150 == 4
{txt}(75 real changes made)

{com}. replace c150 = .24 if e150 == 5
{txt}(58 real changes made)

{com}. replace c150 = .32 if e150 == 6
{txt}(8 real changes made)

{com}. replace c150 = .40 if e150 == 7
{txt}(5 real changes made)

{com}. replace c150 = .48 if e150 == 8
{txt}(1 real change made)

{com}. replace c150 = .60 if e150 == 9
{txt}(1 real change made)

{com}. replace c150 = .72 if e150 == 10
{txt}(1 real change made)

{com}. 
. gen c200 = .
{txt}(1002 missing values generated)

{com}. replace c200 = 0 if e200 == 1
{txt}(168 real changes made)

{com}. replace c200 = .04 if e200 == 2
{txt}(25 real changes made)

{com}. replace c200 = .08 if e200 == 3
{txt}(31 real changes made)

{com}. replace c200 = .16 if e200 == 4
{txt}(42 real changes made)

{com}. replace c200 = .24 if e200 == 5
{txt}(82 real changes made)

{com}. replace c200 = .32 if e200 == 6
{txt}(32 real changes made)

{com}. replace c200 = .40 if e200 == 7
{txt}(20 real changes made)

{com}. replace c200 = .48 if e200 == 8
{txt}(22 real changes made)

{com}. replace c200 = .60 if e200 == 9
{txt}(3 real changes made)

{com}. replace c200 = .72 if e200 == 10
{txt}(2 real changes made)

{com}. 
. gen c250 = .
{txt}(1002 missing values generated)

{com}. replace c250 = 0 if e250 == 1
{txt}(166 real changes made)

{com}. replace c250 = .04 if e250 == 2
{txt}(17 real changes made)

{com}. replace c250 = .08 if e250 == 3
{txt}(28 real changes made)

{com}. replace c250 = .16 if e250 == 4
{txt}(18 real changes made)

{com}. replace c250 = .24 if e250 == 5
{txt}(53 real changes made)

{com}. replace c250 = .32 if e250 == 6
{txt}(65 real changes made)

{com}. replace c250 = .40 if e250 == 7
{txt}(33 real changes made)

{com}. replace c250 = .48 if e250 == 8
{txt}(14 real changes made)

{com}. replace c250 = .60 if e250 == 9
{txt}(6 real changes made)

{com}. replace c250 = .72 if e250 == 10
{txt}(27 real changes made)

{com}. 
. gen c300 = .
{txt}(1002 missing values generated)

{com}. replace c300 = 0 if e300 == 1
{txt}(159 real changes made)

{com}. replace c300 = .04 if e300 == 2
{txt}(14 real changes made)

{com}. replace c300 = .08 if e300 == 3
{txt}(15 real changes made)

{com}. replace c300 = .16 if e300 == 4
{txt}(26 real changes made)

{com}. replace c300 = .24 if e300 == 5
{txt}(27 real changes made)

{com}. replace c300 = .32 if e300 == 6
{txt}(45 real changes made)

{com}. replace c300 = .40 if e300 == 7
{txt}(51 real changes made)

{com}. replace c300 = .48 if e300 == 8
{txt}(39 real changes made)

{com}. replace c300 = .60 if e300 == 9
{txt}(11 real changes made)

{com}. replace c300 = .72 if e300 == 10
{txt}(40 real changes made)

{com}. 
. gen c350 = .
{txt}(1002 missing values generated)

{com}. replace c350 = 0 if e350 == 1
{txt}(160 real changes made)

{com}. replace c350 = .04 if e350 == 2
{txt}(11 real changes made)

{com}. replace c350 = .08 if e350 == 3
{txt}(15 real changes made)

{com}. replace c350 = .16 if e350 == 4
{txt}(17 real changes made)

{com}. replace c350 = .24 if e350 == 5
{txt}(36 real changes made)

{com}. replace c350 = .32 if e350 == 6
{txt}(16 real changes made)

{com}. replace c350 = .40 if e350 == 7
{txt}(34 real changes made)

{com}. replace c350 = .48 if e350 == 8
{txt}(54 real changes made)

{com}. replace c350 = .60 if e350 == 9
{txt}(37 real changes made)

{com}. replace c350 = .72 if e350 == 10
{txt}(47 real changes made)

{com}. 
. gen c400 = .
{txt}(1002 missing values generated)

{com}. replace c400 = 0 if e400 == 1
{txt}(231 real changes made)

{com}. replace c400 = .04 if e400 == 2
{txt}(7 real changes made)

{com}. replace c400 = .08 if e400 == 3
{txt}(8 real changes made)

{com}. replace c400 = .16 if e400 == 4
{txt}(9 real changes made)

{com}. replace c400 = .24 if e400 == 5
{txt}(22 real changes made)

{com}. replace c400 = .32 if e400 == 6
{txt}(11 real changes made)

{com}. replace c400 = .40 if e400 == 7
{txt}(15 real changes made)

{com}. replace c400 = .48 if e400 == 8
{txt}(27 real changes made)

{com}. replace c400 = .60 if e400 == 9
{txt}(31 real changes made)

{com}. replace c400 = .72 if e400 == 10
{txt}(66 real changes made)

{com}. 
. ***Drop the highest effort amount
. drop c400
{txt}
{com}. 
. ***In order to properly reshape the data, we must rename the effort and cost of effort at $0 and $0.50
. rename e000 e0
{txt}
{com}. rename e050 e50
{txt}
{com}. rename c000 c0
{txt}
{com}. rename c050 c50
{txt}
{com}. 
. ***Create the corresponding wages for each effort choice
. gen w0 = 0
{txt}
{com}. gen w50 = .5
{txt}
{com}. gen w100 = 1
{txt}
{com}. gen w150 = 1.5
{txt}
{com}. gen w200 = 2
{txt}
{com}. gen w250 = 2.5
{txt}
{com}. gen w300 = 3
{txt}
{com}. gen w350 = 3.5
{txt}
{com}. 
. ***Create the estimated regression parameter where beta=reciprocity
. gen beta=.
{txt}(1002 missing values generated)

{com}. 
. gen id = _n
{txt}
{com}. 
. ***Reshape the data so that we can regress cost of effort on all possible wages, by subject
. reshape long c, i(id) j(w)
{txt}(note: j = 0 50 100 150 200 250 300 350)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}    1002   {txt}->{res}    8016
{txt}Number of variables            {res}     221   {txt}->{res}     215
{txt}j variable (8 values)                     ->   {res}w
{txt}xij variables:
                        {res}c0 c50 ... c350   {txt}->   {res}c
{txt}{hline 77}

{com}. 
. ***Loop through all subjects and regress the effort on wage by each subject and save values of regression
. ***Note that some subjects did not do this section so we exclude them here. Only subjects numbered 263 through 689 did the gift exchange task.
. quiet forvalues x = 263/689 {c -(}
{txt}
{com}. 
. ***Reshape the data to its original form
. reshape wide c, i(id) j(w)
{txt}(note: j = 0 50 100 150 200 250 300 350)

Data{col 36}long{col 43}->{col 48}wide
{hline 77}
Number of obs.                 {res}    8016   {txt}->{res}    1002
{txt}Number of variables            {res}     215   {txt}->{res}     221
{txt}j variable (8 values)                 {res}w   {txt}->   (dropped)
xij variables:
                                      {res}c   {txt}->   {res}c0 c50 ... c350
{txt}{hline 77}

{com}. 
. ***Public Good Contribution
. rename s6 contribute
{txt}
{com}. 
. ***Amount Given Away in Dictator Game
. rename s5 giveaway
{txt}
{com}. 
. ***Discount Rate
. 
. ***Create the upper limit of the discount rate.
. //gen r1=.
. //replace r1= ln(ln(10.10/10)) if s2q1==1
. //gen r2=.
. //replace r2= ln(ln(10.25/10)) if s2q2==1
. //gen r3=.
. //replace r3= ln(ln(10.50/10)) if s2q3==1
. //gen r4=.
. //replace r4= ln(ln(10.75/10)) if s2q4==1
. //gen r5=.
. //replace r5= ln(ln(11/10)) if s2q5==1
. //gen r6=.
. //replace r6= ln(ln(11.25/10)) if s2q6==1
. //gen r7=.
. //replace r7= ln(ln(11.50/10)) if s2q7==1
. //gen r8=.
. //replace r8= ln(ln(12/10)) if s2q8==1
. //gen r9=.
. //replace r9= ln(ln(12.50/10)) if s2q9==1
. //gen r10=.
. //replace r10= ln(ln(13/10)) if s2q10==1
. //gen r11=.
. //replace r11= ln(ln(14/10)) if s2q11==1
. //gen r12=.
. //replace r12= ln(ln(15/10)) if s2q12==1
. 
. ***Fill in the upper limit, rounding to 7 decimal places for now vs. 1 week choices.
. gen r1=.
{txt}(1002 missing values generated)

{com}. replace r1= -4.6101495 if s2q1==1
{txt}(134 real changes made)

{com}. gen r2=.
{txt}(1002 missing values generated)

{com}. replace r2= -3.7012512 if s2q2==1
{txt}(163 real changes made)

{com}. gen r3=.
{txt}(1002 missing values generated)

{com}. replace r3= -3.0202265 if s2q3==1
{txt}(185 real changes made)

{com}. gen r4=.
{txt}(1002 missing values generated)

{com}. replace r4= -2.6266454 if s2q4==1
{txt}(195 real changes made)

{com}. gen r5=.
{txt}(1002 missing values generated)

{com}. replace r5= -2.3506187 if s2q5==1
{txt}(264 real changes made)

{com}. gen r6=.
{txt}(1002 missing values generated)

{com}. replace r6= -2.1389110  if s2q6==1
{txt}(270 real changes made)

{com}. gen r7=.
{txt}(1002 missing values generated)

{com}. replace r7= -1.9678147 if s2q7==1
{txt}(280 real changes made)

{com}. gen r8=.
{txt}(1002 missing values generated)

{com}. replace r8= -1.7019834 if s2q8==1
{txt}(316 real changes made)

{com}. gen r9=.
{txt}(1002 missing values generated)

{com}. replace r9= -1.4999400 if s2q9==1
{txt}(320 real changes made)

{com}. gen r10=.
{txt}(1002 missing values generated)

{com}. replace r10= -1.3380214 if s2q10==1
{txt}(353 real changes made)

{com}. gen r11=.
{txt}(1002 missing values generated)

{com}. replace r11= -1.0892396 if s2q11==1
{txt}(369 real changes made)

{com}. gen r12=.
{txt}(1002 missing values generated)

{com}. replace r12= -0.9027205 if s2q12==1
{txt}(390 real changes made)

{com}. 
. ***Choose the upper limit for the first time the subject makes the patient choice in the now vs. 1 week section.
. gen reservationr1= min(r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12)
{txt}(612 missing values generated)

{com}. 
. ***Note that the number of missing observations for s2q1 through s2q24 (for those subjects who completed participated in the time section) is always zero.
. 
. ***Fill in the upper limit, rounding to 7 decimal places for 1 week vs. 2 week choices.
. gen r13=.
{txt}(1002 missing values generated)

{com}. replace r13=-4.6101495 if s2q13==1
{txt}(163 real changes made)

{com}. gen r14=.
{txt}(1002 missing values generated)

{com}. replace r14= -3.7012512 if s2q14==1
{txt}(181 real changes made)

{com}. gen r15=.
{txt}(1002 missing values generated)

{com}. replace r15= -3.0202265 if s2q15==1
{txt}(199 real changes made)

{com}. gen r16=.
{txt}(1002 missing values generated)

{com}. replace r16= -2.6266454 if s2q16==1
{txt}(205 real changes made)

{com}. gen r17=.
{txt}(1002 missing values generated)

{com}. replace r17= -2.3506187 if s2q17==1
{txt}(276 real changes made)

{com}. gen r18=.
{txt}(1002 missing values generated)

{com}. replace r18= -2.1389110 if s2q18==1
{txt}(281 real changes made)

{com}. gen r19=.
{txt}(1002 missing values generated)

{com}. replace r19= -1.9678147 if s2q19==1
{txt}(294 real changes made)

{com}. gen r20=.
{txt}(1002 missing values generated)

{com}. replace r20= -1.7019834 if s2q20==1
{txt}(318 real changes made)

{com}. gen r21=.
{txt}(1002 missing values generated)

{com}. replace r21= -1.4999400 if s2q21==1
{txt}(323 real changes made)

{com}. gen r22=.
{txt}(1002 missing values generated)

{com}. replace r22= -1.3380214 if s2q22==1
{txt}(344 real changes made)

{com}. gen r23=.
{txt}(1002 missing values generated)

{com}. replace r23= -1.0892396 if s2q23==1
{txt}(361 real changes made)

{com}. gen r24=.
{txt}(1002 missing values generated)

{com}. replace r24= -0.9027205 if s2q24==1
{txt}(381 real changes made)

{com}. 
. ***Choose the upper limit for the first time the subject makes the patient choice in the 1 week vs. 2 week section.
. gen reservationr2=min(r13,r14,r15,r16,r17,r18,r19,r20,r21,r22,r23, r24)
{txt}(619 missing values generated)

{com}. 
. ***Each subject has an upper limit for the discount rate in now vs. 1 week and an upper limit for the discount rate in 1 week vs. two weeks. Rename these rateu_1 and rateu_2, respectively.
. rename reservationr1 rateu_1
{txt}
{com}. rename reservationr2 rateu_2
{txt}
{com}. ***Create a corresponding lower limit for each discount rate.
. gen ratel_1=. 
{txt}(1002 missing values generated)

{com}. gen ratel_2=.
{txt}(1002 missing values generated)

{com}. 
. ***Fill in the values for the lower limit of the discount rate.
. ***Note that log(x) returns the natural log of ln(x) 
. //replace ratel=. if rate==log(log(10.10/10))
. //replace ratel= log(log(10.10/10)) if rate==log(log(10.25/10))
. //replace ratel= log(log(10.25/10)) if rate==log(log(10.5/10))
. //replace ratel= log(log(10.5/10)) if rate==log(log(10.75/10))
. //replace ratel= log(log(10.75/10)) if rate==log(log(11/10))
. //replace ratel= log(log(11/10)) if rate==log(log(11.25/10))
. //replace ratel= log(log(11.25/10)) if rate==log(log(11.50/10))
. //replace ratel= log(log(11.50/10)) if rate==log(log(12/10))
. //replace ratel= log(log(12/10)) if rate==log(log(12.5/10))
. //replace ratel= log(log(12.5/10)) if rate==log(log(13/10))
. //replace ratel= log(log(13/10)) if rate==log(log(14/10))
. //replace ratel= log(log(14/10)) if rate==log(log(15/10))
. //replace ratel= log(log(15/10)) if rate==.
. 
. ***Fill in the values for the lower limit of the discount rate for now vs. 1 week. This only assigns a value to those who took part in this section.
. replace ratel_1=. if rateu_1 < -4.61 & s2q1 ~= .
{txt}(0 real changes made)

{com}. replace ratel_1= -4.6101494 if rateu_1 < -3.7 & rateu_1 > -4.61  & s2q1 ~= .
{txt}(29 real changes made)

{com}. replace ratel_1= -3.7012513 if rateu_1 < -3.02 & rateu_1 > -3.7  & s2q1 ~= .
{txt}(23 real changes made)

{com}. replace ratel_1= -3.0202265 if rateu_1 < -2.62 & rateu_1 > -3.02 & s2q1 ~= .
{txt}(11 real changes made)

{com}. replace ratel_1= -2.6266454 if rateu_1 < -2.35 & rateu_1 > -2.62 & s2q1 ~= .
{txt}(68 real changes made)

{com}. replace ratel_1= -2.350618  if rateu_1 < -2.13 & rateu_1 > -2.35 & s2q1 ~= .
{txt}(6 real changes made)

{com}. replace ratel_1= -2.1389110  if rateu_1 < -1.96 & rateu_1 > -2.13 & s2q1 ~= .
{txt}(11 real changes made)

{com}. replace ratel_1= -1.9678147  if rateu_1 < -1.70 & rateu_1 > -1.96 & s2q1 ~= .
{txt}(34 real changes made)

{com}. replace ratel_1= -1.7019834  if rateu_1 < -1.49 & rateu_1 > -1.70 & s2q1 ~= .
{txt}(9 real changes made)

{com}. replace ratel_1= -1.4999400  if rateu_1 < -1.33 & rateu_1 > -1.49 & s2q1 ~= .
{txt}(29 real changes made)

{com}. replace ratel_1= -1.3380214  if rateu_1 < -1.08 & rateu_1 > -1.33 & s2q1 ~= .
{txt}(17 real changes made)

{com}. replace ratel_1= -1.0892396  if rateu_1 < -0.90 & rateu_1 > -1.08 & s2q1 ~= .
{txt}(19 real changes made)

{com}. replace ratel_1= -0.9027205 if rateu_1 ==. & s2q1 ~= .
{txt}(16 real changes made)

{com}. 
. ***Fill in the values for the lower limit of the discount rate for 1 week vs. 2 week. This only assigns a value to those who took part in this section.
. replace ratel_2=. if rateu_2 < -4.61 & s2q1 ~= .
{txt}(0 real changes made)

{com}. replace ratel_2= -4.6101494 if rateu_2 < -3.7 & rateu_2 > -4.61 & s2q1 ~= .
{txt}(18 real changes made)

{com}. replace ratel_2= -3.7012513 if rateu_2 < -3.02 & rateu_2 > -3.7 & s2q1 ~= .
{txt}(18 real changes made)

{com}. replace ratel_2= -3.0202265 if rateu_2 < -2.62 & rateu_2 > -3.02 & s2q1 ~= .
{txt}(6 real changes made)

{com}. replace ratel_2= -2.6266454 if rateu_2 < -2.35 & rateu_2 > -2.62 & s2q1 ~= .
{txt}(71 real changes made)

{com}. replace ratel_2= -2.350618  if rateu_2 < -2.13 & rateu_2 > -2.35 & s2q1 ~= .
{txt}(7 real changes made)

{com}. replace ratel_2= -2.1389110  if rateu_2 < -1.96 & rateu_2 > -2.13 & s2q1 ~= .
{txt}(13 real changes made)

{com}. replace ratel_2= -1.9678147  if rateu_2 < -1.70 & rateu_2 > -1.96 & s2q1 ~= .
{txt}(23 real changes made)

{com}. replace ratel_2= -1.7019834  if rateu_2 < -1.49 & rateu_2 > -1.70 & s2q1 ~= .
{txt}(7 real changes made)

{com}. replace ratel_2= -1.4999400  if rateu_2 < -1.33 & rateu_2 > -1.49 & s2q1 ~= .
{txt}(21 real changes made)

{com}. replace ratel_2= -1.3380214  if rateu_2 < -1.08 & rateu_2 > -1.33 & s2q1 ~= .
{txt}(17 real changes made)

{com}. replace ratel_2= -1.0892396  if rateu_2 < -0.90 & rateu_2 > -1.08 & s2q1 ~= .
{txt}(19 real changes made)

{com}. replace ratel_2= -0.9027205 if rateu_2 ==. & s2q1 ~= .
{txt}(23 real changes made)

{com}. 
. 
. 
. 
. ***Risk Aversion
. 
. ***Generate upper limit for risk with small amounts
. gen risk1=.
{txt}(1002 missing values generated)

{com}. replace risk1=(1.6*0.5-1) if s3q1==1
{txt}(37 real changes made)

{com}. gen risk2=.
{txt}(1002 missing values generated)

{com}. replace risk2=(2*0.5-1) if s3q2==1
{txt}(111 real changes made)

{com}. gen risk3=.
{txt}(1002 missing values generated)

{com}. replace risk3=(2.4*0.5-1) if s3q3==1
{txt}(244 real changes made)

{com}. gen risk4=.
{txt}(1002 missing values generated)

{com}. replace risk4=(2.8*0.5-1) if s3q4==1
{txt}(342 real changes made)

{com}. gen risk5=.
{txt}(1002 missing values generated)

{com}. replace risk5=(3.2*0.5-1) if s3q5==1
{txt}(377 real changes made)

{com}. gen risk6=.
{txt}(1002 missing values generated)

{com}. replace risk6=(3.6*0.5-1) if s3q6==1
{txt}(390 real changes made)

{com}. 
. ***Choose the upper limit for the first time a subject chooses the risky asset with small amounts.
. gen reservationrisk1= min(risk1,risk2,risk3,risk4,risk5,risk6)
{txt}(607 missing values generated)

{com}. 
. ***Generate upper limit for risk with large amounts
. gen risk7=.
{txt}(1002 missing values generated)

{com}. replace risk7=(160*0.5-100)/100 if s4q1==1
{txt}(19 real changes made)

{com}. gen risk8=.
{txt}(1002 missing values generated)

{com}. replace risk8=(200*0.5-100)/100 if s4q2==1
{txt}(51 real changes made)

{com}. gen risk9=.
{txt}(1002 missing values generated)

{com}. replace risk9=(240*0.5-100)/100 if s4q3==1
{txt}(137 real changes made)

{com}. gen risk10=.
{txt}(1002 missing values generated)

{com}. replace risk10=(280*0.5-100)/100 if s4q4==1
{txt}(224 real changes made)

{com}. gen risk11=.
{txt}(1002 missing values generated)

{com}. replace risk11=(320*0.5-100)/100 if s4q5==1
{txt}(283 real changes made)

{com}. gen risk12=.
{txt}(1002 missing values generated)

{com}. replace risk12=(360*0.5-100)/100 if s4q6==1
{txt}(298 real changes made)

{com}. 
. ***Choose the upper limit for the first time a subject chooses the risky asset with large amounts.
. gen reservationrisk2= min(risk7,risk8,risk9,risk10,risk11,risk12)
{txt}(698 missing values generated)

{com}. 
. ***risku_1 and risku_2 are the upper limits for risky choices with small and large stakes, respectively.
. rename reservationrisk1 risku_1
{txt}
{com}. rename reservationrisk2 risku_2
{txt}
{com}. ***Create variables for the lower limits.
. gen riskl_1=.
{txt}(1002 missing values generated)

{com}. gen riskl_2=.
{txt}(1002 missing values generated)

{com}. 
. ***Assign values for the lower limit in small stakes. Only those who took participated in this section are assigned values.
. replace riskl_1=. if risku_1 < -.2  & s4q1 ~= .
{txt}(0 real changes made)

{com}. replace riskl_1=(1.6*0.5-1) if risku_1 == 0 & s4q1 ~= .
{txt}(76 real changes made)

{com}. replace riskl_1=(2*0.5-1) if risku_1 > .1 & risku_1 < .3 & s4q1 ~= .
{txt}(135 real changes made)

{com}. replace riskl_1=(2.4*0.5-1) if risku_1 > .3 & risku_1 < .5 & s4q1 ~= .
{txt}(97 real changes made)

{com}. replace riskl_1=(2.8*0.5-1) if risku_1 > .5 & risku_1 < .7 & s4q1 ~= .
{txt}(38 real changes made)

{com}. replace riskl_1=(3.2*0.5-1) if risku_1 > .7 & risku_1 < .9 & s4q1 ~= .
{txt}(12 real changes made)

{com}. replace riskl_1=(3.6*0.5-1) if risku_1 == . & s4q1 ~= .
{txt}(11 real changes made)

{com}. 
. ***Assign values for the lower limit in large stakes. Only those who took participated in this section are assigned values.
. replace riskl_2=. if risku_2 < -.2  & s4q1 ~= .
{txt}(0 real changes made)

{com}. replace riskl_2=(1.6*0.5-1) if risku_2 == 0 & s4q1 ~= .
{txt}(32 real changes made)

{com}. replace riskl_2=(2*0.5-1) if risku_2 > .1 & risku_2 < .3 & s4q1 ~= .
{txt}(90 real changes made)

{com}. replace riskl_2=(2.4*0.5-1) if risku_2 > .3 & risku_2 < .5 & s4q1 ~= .
{txt}(90 real changes made)

{com}. replace riskl_2=(2.8*0.5-1) if risku_2 > .5 & risku_2 < .7 & s4q1 ~= .
{txt}(59 real changes made)

{com}. replace riskl_2=(3.2*0.5-1) if risku_2 > .7 & risku_2 < .9 & s4q1 ~= .
{txt}(14 real changes made)

{com}. replace riskl_2=(3.6*0.5-1) if risku_2 == . & s4q1 ~= .
{txt}(102 real changes made)

{com}. 
. 
. ***Anagrams Attempted
. ***The corresponding variable is named "anagramsattempted"
. 
. ***Drop subjects who are not in our 4 religious groups
. drop if relig == .
{txt}(185 observations deleted)

{com}. 
. replace id = _n
{txt}(814 real changes made)

{com}. 
. ***Create the dependent variables. When p_i = d_i, the data is point data. When p_i ~= d_i, the data is interval data (only discount rate and risk aversion)
. rename contribute d1
{txt}
{com}. gen p1 = d1
{txt}(284 missing values generated)

{com}. rename beta d2
{txt}
{com}. gen p2 = d2
{txt}(474 missing values generated)

{com}. rename giveaway d3
{txt}
{com}. gen p3 = d3
{txt}(263 missing values generated)

{com}. rename ratel_1 d4
{txt}
{com}. rename rateu_1 p4
{txt}
{com}. rename ratel_2 d5
{txt}
{com}. rename rateu_2 p5
{txt}
{com}. rename riskl_1 d6
{txt}
{com}. rename risku_1 p6
{txt}
{com}. rename riskl_2 d7
{txt}
{com}. rename risku_2 p7
{txt}
{com}. rename anagramsattempted d8
{txt}
{com}. gen p8 = d8
{txt}(554 missing values generated)

{com}. rename s6exp d9
{txt}
{com}. gen p9 = d9
{txt}(284 missing values generated)

{com}. rename wageoffer d10
{txt}
{com}. gen p10 = d10
{txt}(474 missing values generated)

{com}. 
. reshape long d p, i(id) j(section_num)
{txt}(note: j = 1 2 3 4 5 6 7 8 9 10)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}     817   {txt}->{res}    8170
{txt}Number of variables            {res}     271   {txt}->{res}     254
{txt}j variable (10 values)                    ->   {res}section_num
{txt}xij variables:
                          {res}d1 d2 ... d10   {txt}->   {res}d
                          p1 p2 ... p10   {txt}->   {res}p
{txt}{hline 77}

{com}. 
. ***Dummies for task type
. gen u1 = 0 //contribute
{txt}
{com}. replace u1 = 1 if section_num == 1 & d ~= .
{txt}(533 real changes made)

{com}. gen u2 = 0 //beta
{txt}
{com}. replace u2 = 1 if section_num == 2 & d ~= .
{txt}(343 real changes made)

{com}. gen u3 = 0 //giveaway
{txt}
{com}. replace u3 = 1 if section_num == 3 & d ~= .
{txt}(554 real changes made)

{com}. gen u4 = 0 //TP
{txt}
{com}. replace u4 = 1 if (section_num == 4 | section_num == 5) & (d ~= . | p ~= .)
{txt}(662 real changes made)

{com}. gen u5 = 0 //RP
{txt}
{com}. replace u5 = 1 if (section_num == 6 | section_num == 7) & (d ~= . | p ~= .)
{txt}(662 real changes made)

{com}. gen u6 = 0 //AN
{txt}
{com}. replace u6 = 1 if section_num == 8 & d ~= .
{txt}(263 real changes made)

{com}. gen u7 = 0 //s6exp (public good expectation)
{txt}
{com}. replace u7 = 1 if section_num == 9 & d ~= .
{txt}(533 real changes made)

{com}. gen u8 = 0 //wageoffer
{txt}
{com}. replace u8 = 1 if section_num == 10 & d ~= .
{txt}(343 real changes made)

{com}. 
. ***Additional controls
. gen onevstwo = 0
{txt}
{com}. replace onevstwo = 1 if section_num == 5
{txt}(817 real changes made)

{com}. gen largestakes = 0
{txt}
{com}. replace largestakes = 1 if section_num == 7
{txt}(817 real changes made)

{com}. 
. ***Treatment Dummies
. gen treatRpg = 0
{txt}
{com}. replace treatRpg = 1 if treatR == 1 & section_num == 1 & d ~= .
{txt}(267 real changes made)

{com}. gen treatRge = 0
{txt}
{com}. replace treatRge = 1 if treatR == 1 & section_num == 2 & d ~= .
{txt}(175 real changes made)

{com}. gen treatRdg = 0
{txt}
{com}. replace treatRdg = 1 if treatR == 1 & section_num == 3 & d ~= .
{txt}(276 real changes made)

{com}. gen treatRtp = 0
{txt}
{com}. replace treatRtp = 1 if treatR == 1 & (section_num == 4 | section_num == 5) & (d ~= . | p ~= .)
{txt}(320 real changes made)

{com}. gen treatRrp = 0
{txt}
{com}. replace treatRrp = 1 if treatR == 1 & (section_num == 6 | section_num == 7) & (d ~= . | p ~= .)
{txt}(320 real changes made)

{com}. gen treatRan = 0
{txt}
{com}. replace treatRan = 1 if treatR == 1 & section_num == 8 & d ~= .
{txt}(130 real changes made)

{com}. gen treatRtr = 0
{txt}
{com}. replace treatRtr = 1 if treatR == 1 & section_num == 9 & d ~= .
{txt}(267 real changes made)

{com}. gen treatRwa = 0
{txt}
{com}. replace treatRwa = 1 if treatR == 1 & section_num == 10 & d ~= .
{txt}(175 real changes made)

{com}. 
. ***Religion interactions
. gen prot = 0
{txt}
{com}. replace prot = 1 if relig == 1
{txt}(2540 real changes made)

{com}. gen prot1 = prot * u1
{txt}
{com}. gen prot2 = prot * u2
{txt}
{com}. gen prot3 = prot * u3
{txt}
{com}. gen prot4 = prot * u4
{txt}
{com}. gen prot5 = prot * u5
{txt}
{com}. gen prot6 = prot * u6
{txt}
{com}. gen prot7 = prot * u7
{txt}
{com}. gen prot7_1 = prot * u8
{txt}
{com}. gen prot8 = prot * onevstwo
{txt}
{com}. gen prot9 = prot * largestakes
{txt}
{com}. gen prot10 = prot * treatRpg
{txt}
{com}. gen prot11 = prot * treatRge 
{txt}
{com}. gen prot12 = prot * treatRdg 
{txt}
{com}. gen prot13 = prot * treatRtp 
{txt}
{com}. gen prot14 = prot * treatRrp 
{txt}
{com}. gen prot15 = prot * treatRan 
{txt}
{com}. gen prot16 = prot * treatRtr
{txt}
{com}. gen prot16_1 = prot * treatRwa
{txt}
{com}. 
. 
. gen cath = 0
{txt}
{com}. replace cath = 1 if relig == 2
{txt}(1990 real changes made)

{com}. gen cath1 = cath * u1
{txt}
{com}. gen cath2 = cath * u2
{txt}
{com}. gen cath3 = cath * u3
{txt}
{com}. gen cath4 = cath * u4
{txt}
{com}. gen cath5 = cath * u5
{txt}
{com}. gen cath6 = cath * u6
{txt}
{com}. gen cath7 = cath * u7
{txt}
{com}. gen cath7_1 = cath * u8
{txt}
{com}. gen cath8 = cath * onevstwo
{txt}
{com}. gen cath9 = cath * largestakes
{txt}
{com}. gen cath10 = cath * treatRpg
{txt}
{com}. gen cath11 = cath * treatRge 
{txt}
{com}. gen cath12 = cath * treatRdg 
{txt}
{com}. gen cath13 = cath * treatRtp 
{txt}
{com}. gen cath14 = cath * treatRrp 
{txt}
{com}. gen cath15 = cath * treatRan 
{txt}
{com}. gen cath16 = cath * treatRtr
{txt}
{com}. gen cath16_1 = cath * treatRwa
{txt}
{com}. 
. gen jewi = 0
{txt}
{com}. replace jewi = 1 if relig == 3
{txt}(950 real changes made)

{com}. gen jewi1 = jewi * u1
{txt}
{com}. gen jewi2 = jewi * u2
{txt}
{com}. gen jewi3 = jewi * u3
{txt}
{com}. gen jewi4 = jewi * u4
{txt}
{com}. gen jewi5 = jewi * u5
{txt}
{com}. gen jewi6 = jewi * u6
{txt}
{com}. gen jewi7 = jewi * u7
{txt}
{com}. gen jewi7_1 = jewi * u8
{txt}
{com}. gen jewi8 = jewi * onevstwo
{txt}
{com}. gen jewi9 = jewi * largestakes
{txt}
{com}. gen jewi10 = jewi * treatRpg
{txt}
{com}. gen jewi11 = jewi * treatRge 
{txt}
{com}. gen jewi12 = jewi * treatRdg 
{txt}
{com}. gen jewi13 = jewi * treatRtp 
{txt}
{com}. gen jewi14 = jewi * treatRrp 
{txt}
{com}. gen jewi15 = jewi * treatRan
{txt}
{com}. gen jewi16 = jewi * treatRtr
{txt}
{com}. gen jewi16_1 = jewi * treatRwa
{txt}
{com}. 
. gen atag = 0
{txt}
{com}. replace atag = 1 if relig == 4
{txt}(2690 real changes made)

{com}. gen atag1 = atag * u1
{txt}
{com}. gen atag2 = atag * u2
{txt}
{com}. gen atag3 = atag * u3
{txt}
{com}. gen atag4 = atag * u4
{txt}
{com}. gen atag5 = atag * u5
{txt}
{com}. gen atag6 = atag * u6
{txt}
{com}. gen atag7 = atag * u7
{txt}
{com}. gen atag7_1 = atag * u8
{txt}
{com}. gen atag8 = atag * onevstwo
{txt}
{com}. gen atag9 = atag * largestakes
{txt}
{com}. gen atag10 = atag * treatRpg
{txt}
{com}. gen atag11 = atag * treatRge 
{txt}
{com}. gen atag12 = atag * treatRdg 
{txt}
{com}. gen atag13 = atag * treatRtp 
{txt}
{com}. gen atag14 = atag * treatRrp 
{txt}
{com}. gen atag15 = atag * treatRan
{txt}
{com}. gen atag16 = atag * treatRtr
{txt}
{com}. gen atag16_1 = atag * treatRwa
{txt}
{com}. 
. intreg d p prot1 prot2 prot3 prot4 prot5 prot6 prot7 prot7_1 prot8 prot9 prot10 prot11 prot12 prot13 prot14 prot15 prot16 prot16_1 cath1 cath2 cath3 cath4 cath5 cath6 cath7 cath7_1 cath8 cath9 cath10 cath11 cath12 cath13 cath14 cath15 cath16 cath16_1 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 jewi7_1 jewi8 jewi9 jewi10 jewi11 jewi12 jewi13 jewi14 jewi15 jewi16 jewi16_1 atag1 atag2 atag3 atag4 atag5 atag6 atag7 atag7_1 atag8 atag9 atag10 atag11 atag12 atag13 atag14 atag15 atag16 atag16_1 , noconstant het(prot1 prot2 prot3 prot4 prot5 prot6 prot7 prot7_1 cath1 cath2 cath3 cath4 cath5 cath6 cath7 cath7_1 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 jewi7_1 atag1 atag2 atag3 atag4 atag5 atag6 atag7 atag7_1) cluster(id)
{txt}note: atag7_1 omitted because of collinearity

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-19832.775}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res: -18246.84}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-16938.994}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-12270.815}  
Iteration 4:{space 3}log pseudolikelihood = {res:-11049.122}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-3282.0623}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2824.4691}  
Iteration 7:{space 3}log pseudolikelihood = {res:-2698.2936}  
Iteration 8:{space 3}log pseudolikelihood = {res: -2685.041}  
Iteration 9:{space 3}log pseudolikelihood = {res:-2684.7789}  
Iteration 10:{space 2}log pseudolikelihood = {res:-2684.7785}  
Iteration 11:{space 2}log pseudolikelihood = {res:-2684.7785}  
{res}
{txt}Interval regression{col 51}Number of obs{col 67}= {res}      3893
{txt}{col 51}Wald chi2({res}72{txt}){col 67}= {res}   5708.75
{txt}Log pseudolikelihood = {res}-2684.7785{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:817} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}model        {txt}{c |}
{space 7}prot1 {c |}{col 14}{res}{space 2} .5278571{col 26}{space 2} .0467093{col 37}{space 1}   11.30{col 46}{space 3}0.000{col 54}{space 4} .4363087{col 67}{space 3} .6194056
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2} .0008598{col 26}{space 2} .0001166{col 37}{space 1}    7.37{col 46}{space 3}0.000{col 54}{space 4} .0006313{col 67}{space 3} .0010884
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2} .2144944{col 26}{space 2}  .032462{col 37}{space 1}    6.61{col 46}{space 3}0.000{col 54}{space 4}   .15087{col 67}{space 3} .2781188
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2}-3.027213{col 26}{space 2} .2592555{col 37}{space 1}  -11.68{col 46}{space 3}0.000{col 54}{space 4}-3.535344{col 67}{space 3}-2.519081
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .2344143{col 26}{space 2} .0485873{col 37}{space 1}    4.82{col 46}{space 3}0.000{col 54}{space 4}  .139185{col 67}{space 3} .3296437
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2} 29.02564{col 26}{space 2} 1.744842{col 37}{space 1}   16.64{col 46}{space 3}0.000{col 54}{space 4} 25.60581{col 67}{space 3} 32.44547
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2}  .597619{col 26}{space 2} .0335331{col 37}{space 1}   17.82{col 46}{space 3}0.000{col 54}{space 4} .5318954{col 67}{space 3} .6633426
{txt}{space 5}prot7_1 {c |}{col 14}{res}{space 2} 1.386792{col 26}{space 2} .1298721{col 37}{space 1}   10.68{col 46}{space 3}0.000{col 54}{space 4} 1.132248{col 67}{space 3} 1.641337
{txt}{space 7}prot8 {c |}{col 14}{res}{space 2} .0044334{col 26}{space 2} .1088734{col 37}{space 1}    0.04{col 46}{space 3}0.968{col 54}{space 4}-.2089545{col 67}{space 3} .2178212
{txt}{space 7}prot9 {c |}{col 14}{res}{space 2} .2736465{col 26}{space 2}  .045504{col 37}{space 1}    6.01{col 46}{space 3}0.000{col 54}{space 4} .1844602{col 67}{space 3} .3628327
{txt}{space 6}prot10 {c |}{col 14}{res}{space 2} .1568555{col 26}{space 2}  .061288{col 37}{space 1}    2.56{col 46}{space 3}0.010{col 54}{space 4} .0367332{col 67}{space 3} .2769778
{txt}{space 6}prot11 {c |}{col 14}{res}{space 2} .0000414{col 26}{space 2} .0001586{col 37}{space 1}    0.26{col 46}{space 3}0.794{col 54}{space 4}-.0002694{col 67}{space 3} .0003522
{txt}{space 6}prot12 {c |}{col 14}{res}{space 2}-.0234717{col 26}{space 2} .0429624{col 37}{space 1}   -0.55{col 46}{space 3}0.585{col 54}{space 4}-.1076764{col 67}{space 3} .0607331
{txt}{space 6}prot13 {c |}{col 14}{res}{space 2} .3500305{col 26}{space 2} .3555527{col 37}{space 1}    0.98{col 46}{space 3}0.325{col 54}{space 4}  -.34684{col 67}{space 3} 1.046901
{txt}{space 6}prot14 {c |}{col 14}{res}{space 2}-.0315487{col 26}{space 2} .0626904{col 37}{space 1}   -0.50{col 46}{space 3}0.615{col 54}{space 4}-.1544197{col 67}{space 3} .0913222
{txt}{space 6}prot15 {c |}{col 14}{res}{space 2}-.7098516{col 26}{space 2} 2.406605{col 37}{space 1}   -0.29{col 46}{space 3}0.768{col 54}{space 4}-5.426711{col 67}{space 3} 4.007008
{txt}{space 6}prot16 {c |}{col 14}{res}{space 2} .0264039{col 26}{space 2} .0466898{col 37}{space 1}    0.57{col 46}{space 3}0.572{col 54}{space 4}-.0651064{col 67}{space 3} .1179143
{txt}{space 4}prot16_1 {c |}{col 14}{res}{space 2} .0479902{col 26}{space 2} .1851525{col 37}{space 1}    0.26{col 46}{space 3}0.795{col 54}{space 4} -.314902{col 67}{space 3} .4108823
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .7022222{col 26}{space 2} .0479814{col 37}{space 1}   14.64{col 46}{space 3}0.000{col 54}{space 4} .6081805{col 67}{space 3} .7962639
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2} .0007882{col 26}{space 2} .0001377{col 37}{space 1}    5.72{col 46}{space 3}0.000{col 54}{space 4} .0005183{col 67}{space 3}  .001058
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2} .1720313{col 26}{space 2} .0355013{col 37}{space 1}    4.85{col 46}{space 3}0.000{col 54}{space 4}   .10245{col 67}{space 3} .2416125
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2}-3.526361{col 26}{space 2} .3594196{col 37}{space 1}   -9.81{col 46}{space 3}0.000{col 54}{space 4} -4.23081{col 67}{space 3}-2.821911
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2} .2090108{col 26}{space 2} .0487258{col 37}{space 1}    4.29{col 46}{space 3}0.000{col 54}{space 4} .1135099{col 67}{space 3} .3045117
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} 31.08824{col 26}{space 2} 2.846445{col 37}{space 1}   10.92{col 46}{space 3}0.000{col 54}{space 4} 25.50931{col 67}{space 3} 36.66716
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .7339683{col 26}{space 2} .0382141{col 37}{space 1}   19.21{col 46}{space 3}0.000{col 54}{space 4}   .65907{col 67}{space 3} .8088665
{txt}{space 5}cath7_1 {c |}{col 14}{res}{space 2} 1.283784{col 26}{space 2} .1425129{col 37}{space 1}    9.01{col 46}{space 3}0.000{col 54}{space 4} 1.004464{col 67}{space 3} 1.563104
{txt}{space 7}cath8 {c |}{col 14}{res}{space 2}-.1655479{col 26}{space 2}  .173758{col 37}{space 1}   -0.95{col 46}{space 3}0.341{col 54}{space 4}-.5061074{col 67}{space 3} .1750116
{txt}{space 7}cath9 {c |}{col 14}{res}{space 2} .3059685{col 26}{space 2} .0514511{col 37}{space 1}    5.95{col 46}{space 3}0.000{col 54}{space 4} .2051262{col 67}{space 3} .4068109
{txt}{space 6}cath10 {c |}{col 14}{res}{space 2}-.1834222{col 26}{space 2} .0677962{col 37}{space 1}   -2.71{col 46}{space 3}0.007{col 54}{space 4}-.3163003{col 67}{space 3}-.0505441
{txt}{space 6}cath11 {c |}{col 14}{res}{space 2} .0000522{col 26}{space 2} .0001746{col 37}{space 1}    0.30{col 46}{space 3}0.765{col 54}{space 4}-.0002899{col 67}{space 3} .0003944
{txt}{space 6}cath12 {c |}{col 14}{res}{space 2}-.0373646{col 26}{space 2}  .043551{col 37}{space 1}   -0.86{col 46}{space 3}0.391{col 54}{space 4}-.1227229{col 67}{space 3} .0479937
{txt}{space 6}cath13 {c |}{col 14}{res}{space 2}  .426943{col 26}{space 2} .4937353{col 37}{space 1}    0.86{col 46}{space 3}0.387{col 54}{space 4}-.5407604{col 67}{space 3} 1.394647
{txt}{space 6}cath14 {c |}{col 14}{res}{space 2}-.1137943{col 26}{space 2} .0678316{col 37}{space 1}   -1.68{col 46}{space 3}0.093{col 54}{space 4}-.2467417{col 67}{space 3} .0191531
{txt}{space 6}cath15 {c |}{col 14}{res}{space 2} 1.757919{col 26}{space 2} 3.911457{col 37}{space 1}    0.45{col 46}{space 3}0.653{col 54}{space 4}-5.908397{col 67}{space 3} 9.424234
{txt}{space 6}cath16 {c |}{col 14}{res}{space 2}-.1183683{col 26}{space 2}  .052374{col 37}{space 1}   -2.26{col 46}{space 3}0.024{col 54}{space 4}-.2210194{col 67}{space 3}-.0157171
{txt}{space 4}cath16_1 {c |}{col 14}{res}{space 2} .0125125{col 26}{space 2} .1929336{col 37}{space 1}    0.06{col 46}{space 3}0.948{col 54}{space 4}-.3656305{col 67}{space 3} .3906555
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .5584375{col 26}{space 2}   .07433{col 37}{space 1}    7.51{col 46}{space 3}0.000{col 54}{space 4} .4127534{col 67}{space 3} .7041216
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2} .0004717{col 26}{space 2} .0001548{col 37}{space 1}    3.05{col 46}{space 3}0.002{col 54}{space 4} .0001683{col 67}{space 3} .0007751
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}      .14{col 26}{space 2} .0428815{col 37}{space 1}    3.26{col 46}{space 3}0.001{col 54}{space 4} .0559538{col 67}{space 3} .2240462
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-3.620711{col 26}{space 2} .4333874{col 37}{space 1}   -8.35{col 46}{space 3}0.000{col 54}{space 4}-4.470135{col 67}{space 3}-2.771287
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2} .0925979{col 26}{space 2} .0406878{col 37}{space 1}    2.28{col 46}{space 3}0.023{col 54}{space 4} .0128511{col 67}{space 3} .1723446
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 33.64706{col 26}{space 2} 4.340422{col 37}{space 1}    7.75{col 46}{space 3}0.000{col 54}{space 4} 25.13999{col 67}{space 3} 42.15413
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}  .611875{col 26}{space 2} .0520036{col 37}{space 1}   11.77{col 46}{space 3}0.000{col 54}{space 4} .5099499{col 67}{space 3} .7138001
{txt}{space 5}jewi7_1 {c |}{col 14}{res}{space 2} .9761905{col 26}{space 2} .2062573{col 37}{space 1}    4.73{col 46}{space 3}0.000{col 54}{space 4} .5719336{col 67}{space 3} 1.380447
{txt}{space 7}jewi8 {c |}{col 14}{res}{space 2}-.3701413{col 26}{space 2} .2659545{col 37}{space 1}   -1.39{col 46}{space 3}0.164{col 54}{space 4}-.8914025{col 67}{space 3}   .15112
{txt}{space 7}jewi9 {c |}{col 14}{res}{space 2} .2601205{col 26}{space 2} .0664489{col 37}{space 1}    3.91{col 46}{space 3}0.000{col 54}{space 4} .1298831{col 67}{space 3} .3903579
{txt}{space 6}jewi10 {c |}{col 14}{res}{space 2} .0115625{col 26}{space 2} .1134248{col 37}{space 1}    0.10{col 46}{space 3}0.919{col 54}{space 4} -.210746{col 67}{space 3}  .233871
{txt}{space 6}jewi11 {c |}{col 14}{res}{space 2} .0005985{col 26}{space 2} .0002635{col 37}{space 1}    2.27{col 46}{space 3}0.023{col 54}{space 4} .0000821{col 67}{space 3} .0011149
{txt}{space 6}jewi12 {c |}{col 14}{res}{space 2} .0062963{col 26}{space 2} .0643335{col 37}{space 1}    0.10{col 46}{space 3}0.922{col 54}{space 4} -.119795{col 67}{space 3} .1323876
{txt}{space 6}jewi13 {c |}{col 14}{res}{space 2} .3258263{col 26}{space 2} .5636717{col 37}{space 1}    0.58{col 46}{space 3}0.563{col 54}{space 4}-.7789499{col 67}{space 3} 1.430603
{txt}{space 6}jewi14 {c |}{col 14}{res}{space 2} .0214262{col 26}{space 2}  .056416{col 37}{space 1}    0.38{col 46}{space 3}0.704{col 54}{space 4}-.0891471{col 67}{space 3} .1319996
{txt}{space 6}jewi15 {c |}{col 14}{res}{space 2} 4.915441{col 26}{space 2} 5.804579{col 37}{space 1}    0.85{col 46}{space 3}0.397{col 54}{space 4}-6.461324{col 67}{space 3} 16.29221
{txt}{space 6}jewi16 {c |}{col 14}{res}{space 2} .0789583{col 26}{space 2} .0776773{col 37}{space 1}    1.02{col 46}{space 3}0.309{col 54}{space 4}-.0732864{col 67}{space 3} .2312031
{txt}{space 4}jewi16_1 {c |}{col 14}{res}{space 2} .4185464{col 26}{space 2} .2793088{col 37}{space 1}    1.50{col 46}{space 3}0.134{col 54}{space 4}-.1288888{col 67}{space 3} .9659815
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2} .4867816{col 26}{space 2} .0428912{col 37}{space 1}   11.35{col 46}{space 3}0.000{col 54}{space 4} .4027164{col 67}{space 3} .5708468
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2} .0009375{col 26}{space 2} .0001199{col 37}{space 1}    7.82{col 46}{space 3}0.000{col 54}{space 4} .0007026{col 67}{space 3} .0011725
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2} .1651111{col 26}{space 2} .0242413{col 37}{space 1}    6.81{col 46}{space 3}0.000{col 54}{space 4} .1175991{col 67}{space 3} .2126231
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2}-4.396184{col 26}{space 2} .4139794{col 37}{space 1}  -10.62{col 46}{space 3}0.000{col 54}{space 4}-5.207569{col 67}{space 3}  -3.5848
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2} .1600286{col 26}{space 2} .0342693{col 37}{space 1}    4.67{col 46}{space 3}0.000{col 54}{space 4} .0928621{col 67}{space 3} .2271951
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} 32.02326{col 26}{space 2} 1.763462{col 37}{space 1}   18.16{col 46}{space 3}0.000{col 54}{space 4} 28.56693{col 67}{space 3} 35.47958
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2} .5248276{col 26}{space 2} .0319085{col 37}{space 1}   16.45{col 46}{space 3}0.000{col 54}{space 4}  .462288{col 67}{space 3} .5873671
{txt}{space 5}atag7_1 {c |}{col 14}{res}{space 2} 1.570175{col 26}{space 2} .1140635{col 37}{space 1}   13.77{col 46}{space 3}0.000{col 54}{space 4} 1.346615{col 67}{space 3} 1.793736
{txt}{space 7}atag8 {c |}{col 14}{res}{space 2} -.296386{col 26}{space 2} .1721581{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.6338096{col 67}{space 3} .0410376
{txt}{space 7}atag9 {c |}{col 14}{res}{space 2} .2640933{col 26}{space 2} .0417038{col 37}{space 1}    6.33{col 46}{space 3}0.000{col 54}{space 4} .1823553{col 67}{space 3} .3458313
{txt}{space 6}atag10 {c |}{col 14}{res}{space 2} .1186505{col 26}{space 2} .0628881{col 37}{space 1}    1.89{col 46}{space 3}0.059{col 54}{space 4}-.0046079{col 67}{space 3} .2419089
{txt}{space 6}atag11 {c |}{col 14}{res}{space 2}-.0002045{col 26}{space 2} .0001554{col 37}{space 1}   -1.32{col 46}{space 3}0.188{col 54}{space 4}-.0005091{col 67}{space 3} .0001001
{txt}{space 6}atag12 {c |}{col 14}{res}{space 2} -.054646{col 26}{space 2} .0317179{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.1168119{col 67}{space 3} .0075199
{txt}{space 6}atag13 {c |}{col 14}{res}{space 2} .0838184{col 26}{space 2} .5032772{col 37}{space 1}    0.17{col 46}{space 3}0.868{col 54}{space 4}-.9025868{col 67}{space 3} 1.070224
{txt}{space 6}atag14 {c |}{col 14}{res}{space 2} -.115996{col 26}{space 2} .0521825{col 37}{space 1}   -2.22{col 46}{space 3}0.026{col 54}{space 4}-.2182718{col 67}{space 3}-.0137203
{txt}{space 6}atag15 {c |}{col 14}{res}{space 2} 2.116744{col 26}{space 2} 2.607666{col 37}{space 1}    0.81{col 46}{space 3}0.417{col 54}{space 4}-2.994187{col 67}{space 3} 7.227676
{txt}{space 6}atag16 {c |}{col 14}{res}{space 2} .0875181{col 26}{space 2} .0470391{col 37}{space 1}    1.86{col 46}{space 3}0.063{col 54}{space 4}-.0046768{col 67}{space 3}  .179713
{txt}{space 4}atag16_1 {c |}{col 14}{res}{space 2}-.2755326{col 26}{space 2} .1810234{col 37}{space 1}   -1.52{col 46}{space 3}0.128{col 54}{space 4} -.630332{col 67}{space 3} .0792668
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}lnsigma      {txt}{c |}
{space 7}prot1 {c |}{col 14}{res}{space 2}-.8768072{col 26}{space 2}  .058183{col 37}{space 1}  -15.07{col 46}{space 3}0.000{col 54}{space 4}-.9908437{col 67}{space 3}-.7627707
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2}-7.096448{col 26}{space 2} .0716649{col 37}{space 1}  -99.02{col 46}{space 3}0.000{col 54}{space 4}-7.236909{col 67}{space 3}-6.955988
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2}-1.211317{col 26}{space 2} .0809747{col 37}{space 1}  -14.96{col 46}{space 3}0.000{col 54}{space 4}-1.370025{col 67}{space 3} -1.05261
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2} .6996012{col 26}{space 2}  .097805{col 37}{space 1}    7.15{col 46}{space 3}0.000{col 54}{space 4}  .507907{col 67}{space 3} .8912955
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2}-.9010836{col 26}{space 2} .0901222{col 37}{space 1}  -10.00{col 46}{space 3}0.000{col 54}{space 4} -1.07772{col 67}{space 3}-.7244474
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2} 2.398091{col 26}{space 2} .0825091{col 37}{space 1}   29.06{col 46}{space 3}0.000{col 54}{space 4} 2.236376{col 67}{space 3} 2.559806
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2}-1.146578{col 26}{space 2} .0648212{col 37}{space 1}  -17.69{col 46}{space 3}0.000{col 54}{space 4}-1.273625{col 67}{space 3} -1.01953
{txt}{space 5}prot7_1 {c |}{col 14}{res}{space 2}-.0404264{col 26}{space 2}  .072949{col 37}{space 1}   -0.55{col 46}{space 3}0.579{col 54}{space 4}-.1834038{col 67}{space 3} .1025509
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2}-.8767865{col 26}{space 2} .0608067{col 37}{space 1}  -14.42{col 46}{space 3}0.000{col 54}{space 4}-.9959655{col 67}{space 3}-.7576076
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2} -7.07943{col 26}{space 2} .0750884{col 37}{space 1}  -94.28{col 46}{space 3}0.000{col 54}{space 4}-7.226601{col 67}{space 3}-6.932259
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2} -1.34281{col 26}{space 2} .0963468{col 37}{space 1}  -13.94{col 46}{space 3}0.000{col 54}{space 4}-1.531646{col 67}{space 3}-1.153974
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2} .8222166{col 26}{space 2} .1093053{col 37}{space 1}    7.52{col 46}{space 3}0.000{col 54}{space 4} .6079822{col 67}{space 3} 1.036451
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2}-.9845367{col 26}{space 2} .0926594{col 37}{space 1}  -10.63{col 46}{space 3}0.000{col 54}{space 4}-1.166146{col 67}{space 3}-.8029277
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} 2.774804{col 26}{space 2} .1799838{col 37}{space 1}   15.42{col 46}{space 3}0.000{col 54}{space 4} 2.422042{col 67}{space 3} 3.127566
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} -1.14035{col 26}{space 2} .0662045{col 37}{space 1}  -17.22{col 46}{space 3}0.000{col 54}{space 4}-1.270108{col 67}{space 3}-1.010591
{txt}{space 5}cath7_1 {c |}{col 14}{res}{space 2}-.0423543{col 26}{space 2} .0685541{col 37}{space 1}   -0.62{col 46}{space 3}0.537{col 54}{space 4}-.1767179{col 67}{space 3} .0920092
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2}-.8267716{col 26}{space 2} .0649215{col 37}{space 1}  -12.73{col 46}{space 3}0.000{col 54}{space 4}-.9540155{col 67}{space 3}-.6995277
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2}-7.064361{col 26}{space 2} .0988782{col 37}{space 1}  -71.45{col 46}{space 3}0.000{col 54}{space 4}-7.258158{col 67}{space 3}-6.870563
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}-1.338976{col 26}{space 2} .1441227{col 37}{space 1}   -9.29{col 46}{space 3}0.000{col 54}{space 4}-1.621451{col 67}{space 3}  -1.0565
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2} .6579219{col 26}{space 2}  .119068{col 37}{space 1}    5.53{col 46}{space 3}0.000{col 54}{space 4} .4245528{col 67}{space 3} .8912909
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-1.295046{col 26}{space 2} .1121173{col 37}{space 1}  -11.55{col 46}{space 3}0.000{col 54}{space 4}-1.514792{col 67}{space 3}  -1.0753
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2}  2.85815{col 26}{space 2}  .140695{col 37}{space 1}   20.31{col 46}{space 3}0.000{col 54}{space 4} 2.582392{col 67}{space 3} 3.133907
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2} -1.19991{col 26}{space 2} .0892685{col 37}{space 1}  -13.44{col 46}{space 3}0.000{col 54}{space 4}-1.374873{col 67}{space 3}-1.024947
{txt}{space 5}jewi7_1 {c |}{col 14}{res}{space 2}-.0780276{col 26}{space 2} .0942907{col 37}{space 1}   -0.83{col 46}{space 3}0.408{col 54}{space 4}-.2628339{col 67}{space 3} .1067788
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2}-.8590497{col 26}{space 2}  .057555{col 37}{space 1}  -14.93{col 46}{space 3}0.000{col 54}{space 4}-.9718554{col 67}{space 3} -.746244
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2}-7.056729{col 26}{space 2}  .073969{col 37}{space 1}  -95.40{col 46}{space 3}0.000{col 54}{space 4}-7.201706{col 67}{space 3}-6.911753
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2}-1.514346{col 26}{space 2}  .083382{col 37}{space 1}  -18.16{col 46}{space 3}0.000{col 54}{space 4}-1.677772{col 67}{space 3}-1.350921
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2} .8984963{col 26}{space 2} .0922344{col 37}{space 1}    9.74{col 46}{space 3}0.000{col 54}{space 4} .7177201{col 67}{space 3} 1.079272
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2} -1.10606{col 26}{space 2} .0837399{col 37}{space 1}  -13.21{col 46}{space 3}0.000{col 54}{space 4}-1.270187{col 67}{space 3}-.9419327
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} 2.581148{col 26}{space 2} .1142448{col 37}{space 1}   22.59{col 46}{space 3}0.000{col 54}{space 4} 2.357233{col 67}{space 3} 2.805064
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2}-1.149787{col 26}{space 2}  .062206{col 37}{space 1}  -18.48{col 46}{space 3}0.000{col 54}{space 4}-1.271709{col 67}{space 3}-1.027866
{txt}{space 5}atag7_1 {c |}{col 14}{res}  (omitted)
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -.040981{col 26}{space 2} .0499991{col 37}{space 1}   -0.82{col 46}{space 3}0.412{col 54}{space 4}-.1389774{col 67}{space 3} .0570154
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

  Observation summary:{col 24}{res}      282{col 34}{txt} left-censored observations
{col 24}{res}     2569{col 34}{txt}    uncensored observations
{col 24}{res}      132{col 34}{txt}right-censored observations
{col 24}{res}      910{col 34}{txt}      interval observations

{com}. 
. test (prot10 = 0) (prot11 = 0) (prot12 = 0) (prot13 = 0) (prot14 = 0) (prot15 = 0) (prot16 = 0) (prot16_1) (cath10 = 0) (cath11 = 0) (cath12 = 0) (cath13 = 0) (cath14 = 0) (cath15 = 0) (cath16 = 0) (cath16_1) (jewi10 = 0) (jewi11 = 0) (jewi12 = 0) (jewi13 = 0) (jewi14 = 0) (jewi15 = 0) (jewi16 = 0) (jewi16_1) (atag10 = 0) (atag11 = 0) (atag12 = 0) (atag13 = 0) (atag14 = 0) (atag15 = 0) (atag16 = 0) (atag16_1)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]prot10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]prot11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]prot12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]prot13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]prot14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]prot15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]prot16 = 0{p_end}
{p 0 7}{space 1}{text:( 8)}{space 1} [model]prot16_1 = 0{p_end}
{p 0 7}{space 1}{text:( 9)}{space 1} [model]cath10 = 0{p_end}
{p 0 7}{space 1}{text:(10)}{space 1} [model]cath11 = 0{p_end}
{p 0 7}{space 1}{text:(11)}{space 1} [model]cath12 = 0{p_end}
{p 0 7}{space 1}{text:(12)}{space 1} [model]cath13 = 0{p_end}
{p 0 7}{space 1}{text:(13)}{space 1} [model]cath14 = 0{p_end}
{p 0 7}{space 1}{text:(14)}{space 1} [model]cath15 = 0{p_end}
{p 0 7}{space 1}{text:(15)}{space 1} [model]cath16 = 0{p_end}
{p 0 7}{space 1}{text:(16)}{space 1} [model]cath16_1 = 0{p_end}
{p 0 7}{space 1}{text:(17)}{space 1} [model]jewi10 = 0{p_end}
{p 0 7}{space 1}{text:(18)}{space 1} [model]jewi11 = 0{p_end}
{p 0 7}{space 1}{text:(19)}{space 1} [model]jewi12 = 0{p_end}
{p 0 7}{space 1}{text:(20)}{space 1} [model]jewi13 = 0{p_end}
{p 0 7}{space 1}{text:(21)}{space 1} [model]jewi14 = 0{p_end}
{p 0 7}{space 1}{text:(22)}{space 1} [model]jewi15 = 0{p_end}
{p 0 7}{space 1}{text:(23)}{space 1} [model]jewi16 = 0{p_end}
{p 0 7}{space 1}{text:(24)}{space 1} [model]jewi16_1 = 0{p_end}
{p 0 7}{space 1}{text:(25)}{space 1} [model]atag10 = 0{p_end}
{p 0 7}{space 1}{text:(26)}{space 1} [model]atag11 = 0{p_end}
{p 0 7}{space 1}{text:(27)}{space 1} [model]atag12 = 0{p_end}
{p 0 7}{space 1}{text:(28)}{space 1} [model]atag13 = 0{p_end}
{p 0 7}{space 1}{text:(29)}{space 1} [model]atag14 = 0{p_end}
{p 0 7}{space 1}{text:(30)}{space 1} [model]atag15 = 0{p_end}
{p 0 7}{space 1}{text:(31)}{space 1} [model]atag16 = 0{p_end}
{p 0 7}{space 1}{text:(32)}{space 1} [model]atag16_1 = 0{p_end}

{txt}{col 12}chi2( 32) ={res}   52.68
{txt}{col 10}Prob > chi2 =  {res}  0.0121
{txt}
{com}. 
. 
. *Are priming effects jointly equal across religions?
. clear all
{txt}
{com}. set mem 50m
{txt}(51200k)

{com}. set more off
{txt}
{com}. 
. use "/Users/gwf25/Dropbox/research/religion/final code/religion_all.dta"
{txt}
{com}. 
. //  Begin definition of variables
. 
. ***Drop subjects who thought the experiment was about religion
. gen id = _n
{txt}
{com}. drop if id == 98 | id == 176 | id == 194 | id == 383
{txt}(4 observations deleted)

{com}. 
. ***Drop subjects who incorrectly completed the priming task. This includes subjects who leave more than half the responses blank. The following subjects
. ***all left at least questions #2-#7 blank in the sentence unscrambling task. 
. drop if id==7 | id==719 | id==740 | id==762 | id==940
{txt}(5 observations deleted)

{com}. 
. ***An error led to some subjects seeing both the control and religion salient sentence unscrambling tasks. Here, we drop those subjects.
. drop if prime_diff == 1
{txt}(2 observations deleted)

{com}. 
. ***"skipped" is a dummy variable for whether subjects skip the question that asks their religion. If they skip this question, we drop them from the sample 
. ***and if not, we assign a dummy variable to indicate the treatment group (religion salient or control) that subject belongs to.
. gen skipped=0
{txt}
{com}. replace skipped=1 if  s10q15==""
{txt}(21 real changes made)

{com}. gen treatR=.
{txt}(1033 missing values generated)

{com}. replace treatR=religion if skipped==0
{txt}(1012 real changes made)

{com}. drop if skipped==1
{txt}(21 observations deleted)

{com}. 
. ***Define religion
. gen relig=.
{txt}(1012 missing values generated)

{com}. 
. ***Note: 1 = protestant or other christian, 2 = catholic, 3 = jewish, 4 = agnostic/atheist
. replace relig=1 if (s10q15=="Christian - Other (please specify below)" | s10q15=="Christian - Protestant (please specify denomination below)")
{txt}(264 real changes made)

{com}. replace relig=2 if s10q15=="Christian - Catholic"
{txt}(199 real changes made)

{com}. replace relig=3 if s10q15=="Jewish (Orthodox/Reformed/etc.)" | s10q15=="Jewish (Orthodox/Reform/etc.)"
{txt}(95 real changes made)

{com}. replace relig=4 if (s10q15=="Agnostic" | s10q15=="Atheist")
{txt}(269 real changes made)

{com}. 
. ***Drop Mormon/Othodox Christians from the sample
. drop if s10q15sp == "Greek Orthodox"
{txt}(2 observations deleted)

{com}. drop if s10q15sp == "Russian Othrodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "greek orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Orthodox Christian"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthdox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "christian orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthodox Christian"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Russian orthodox"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Church of Jesus Christ of Latter Day Saints"
{txt}(1 observation deleted)

{com}. drop if s10q15sp == "Greek Orthodox"
{txt}(0 observations deleted)

{com}. 
. // End of variables
. 
. 
. ****Create dependent variables to run in F-test****
. 
. 
. ***Wageoffer
. rename m wageoffer
{txt}
{com}. 
. ***Slope from regression of work cost on wages
. ***Create the cost, cXXX, for providing a certain amount of effort at eXXX. A certain monetary cost is associated with each level of output. So, we have:
. ***[eXXX, cXXX] = [(1,$0.00),(2,$0.04),(3,$0.08),(4,$0.16),(5,$0.24),(6,$0.32),(7,$0.40),(8,$0.48),(9,$0.60),(10,$0.72)]
. gen c000 = .
{txt}(1002 missing values generated)

{com}. replace c000 = 0 if e000 == 1
{txt}(423 real changes made)

{com}. replace c000 = .04 if e000 == 2
{txt}(2 real changes made)

{com}. replace c000 = .08 if e000 == 3
{txt}(0 real changes made)

{com}. replace c000 = .16 if e000 == 4
{txt}(1 real change made)

{com}. replace c000 = .24 if e000 == 5
{txt}(0 real changes made)

{com}. replace c000 = .32 if e000 == 6
{txt}(0 real changes made)

{com}. replace c000 = .40 if e000 == 7
{txt}(0 real changes made)

{com}. replace c000 = .48 if e000 == 8
{txt}(0 real changes made)

{com}. replace c000 = .60 if e000 == 9
{txt}(0 real changes made)

{com}. replace c000 = .72 if e000 == 10
{txt}(1 real change made)

{com}. 
. gen c050 = .
{txt}(1002 missing values generated)

{com}. replace c050 = 0 if e050 == 1
{txt}(315 real changes made)

{com}. replace c050 = .04 if e050 == 2
{txt}(78 real changes made)

{com}. replace c050 = .08 if e050 == 3
{txt}(25 real changes made)

{com}. replace c050 = .16 if e050 == 4
{txt}(3 real changes made)

{com}. replace c050 = .24 if e050 == 5
{txt}(2 real changes made)

{com}. replace c050 = .32 if e050 == 6
{txt}(0 real changes made)

{com}. replace c050 = .40 if e050 == 7
{txt}(1 real change made)

{com}. replace c050 = .48 if e050 == 8
{txt}(0 real changes made)

{com}. replace c050 = .60 if e050 == 9
{txt}(2 real changes made)

{com}. replace c050 = .72 if e050 == 10
{txt}(1 real change made)

{com}. 
. gen c100 = .
{txt}(1002 missing values generated)

{com}. replace c100 = 0 if e100 == 1
{txt}(216 real changes made)

{com}. replace c100 = .04 if e100 == 2
{txt}(68 real changes made)

{com}. replace c100 = .08 if e100 == 3
{txt}(97 real changes made)

{com}. replace c100 = .16 if e100 == 4
{txt}(31 real changes made)

{com}. replace c100 = .24 if e100 == 5
{txt}(11 real changes made)

{com}. replace c100 = .32 if e100 == 6
{txt}(0 real changes made)

{com}. replace c100 = .40 if e100 == 7
{txt}(2 real changes made)

{com}. replace c100 = .48 if e100 == 8
{txt}(0 real changes made)

{com}. replace c100 = .60 if e100 == 9
{txt}(1 real change made)

{com}. replace c100 = .72 if e100 == 10
{txt}(1 real change made)

{com}. 
. gen c150 = .
{txt}(1002 missing values generated)

{com}. replace c150 = 0 if e150 == 1
{txt}(181 real changes made)

{com}. replace c150 = .04 if e150 == 2
{txt}(41 real changes made)

{com}. replace c150 = .08 if e150 == 3
{txt}(56 real changes made)

{com}. replace c150 = .16 if e150 == 4
{txt}(75 real changes made)

{com}. replace c150 = .24 if e150 == 5
{txt}(58 real changes made)

{com}. replace c150 = .32 if e150 == 6
{txt}(8 real changes made)

{com}. replace c150 = .40 if e150 == 7
{txt}(5 real changes made)

{com}. replace c150 = .48 if e150 == 8
{txt}(1 real change made)

{com}. replace c150 = .60 if e150 == 9
{txt}(1 real change made)

{com}. replace c150 = .72 if e150 == 10
{txt}(1 real change made)

{com}. 
. gen c200 = .
{txt}(1002 missing values generated)

{com}. replace c200 = 0 if e200 == 1
{txt}(168 real changes made)

{com}. replace c200 = .04 if e200 == 2
{txt}(25 real changes made)

{com}. replace c200 = .08 if e200 == 3
{txt}(31 real changes made)

{com}. replace c200 = .16 if e200 == 4
{txt}(42 real changes made)

{com}. replace c200 = .24 if e200 == 5
{txt}(82 real changes made)

{com}. replace c200 = .32 if e200 == 6
{txt}(32 real changes made)

{com}. replace c200 = .40 if e200 == 7
{txt}(20 real changes made)

{com}. replace c200 = .48 if e200 == 8
{txt}(22 real changes made)

{com}. replace c200 = .60 if e200 == 9
{txt}(3 real changes made)

{com}. replace c200 = .72 if e200 == 10
{txt}(2 real changes made)

{com}. 
. gen c250 = .
{txt}(1002 missing values generated)

{com}. replace c250 = 0 if e250 == 1
{txt}(166 real changes made)

{com}. replace c250 = .04 if e250 == 2
{txt}(17 real changes made)

{com}. replace c250 = .08 if e250 == 3
{txt}(28 real changes made)

{com}. replace c250 = .16 if e250 == 4
{txt}(18 real changes made)

{com}. replace c250 = .24 if e250 == 5
{txt}(53 real changes made)

{com}. replace c250 = .32 if e250 == 6
{txt}(65 real changes made)

{com}. replace c250 = .40 if e250 == 7
{txt}(33 real changes made)

{com}. replace c250 = .48 if e250 == 8
{txt}(14 real changes made)

{com}. replace c250 = .60 if e250 == 9
{txt}(6 real changes made)

{com}. replace c250 = .72 if e250 == 10
{txt}(27 real changes made)

{com}. 
. gen c300 = .
{txt}(1002 missing values generated)

{com}. replace c300 = 0 if e300 == 1
{txt}(159 real changes made)

{com}. replace c300 = .04 if e300 == 2
{txt}(14 real changes made)

{com}. replace c300 = .08 if e300 == 3
{txt}(15 real changes made)

{com}. replace c300 = .16 if e300 == 4
{txt}(26 real changes made)

{com}. replace c300 = .24 if e300 == 5
{txt}(27 real changes made)

{com}. replace c300 = .32 if e300 == 6
{txt}(45 real changes made)

{com}. replace c300 = .40 if e300 == 7
{txt}(51 real changes made)

{com}. replace c300 = .48 if e300 == 8
{txt}(39 real changes made)

{com}. replace c300 = .60 if e300 == 9
{txt}(11 real changes made)

{com}. replace c300 = .72 if e300 == 10
{txt}(40 real changes made)

{com}. 
. gen c350 = .
{txt}(1002 missing values generated)

{com}. replace c350 = 0 if e350 == 1
{txt}(160 real changes made)

{com}. replace c350 = .04 if e350 == 2
{txt}(11 real changes made)

{com}. replace c350 = .08 if e350 == 3
{txt}(15 real changes made)

{com}. replace c350 = .16 if e350 == 4
{txt}(17 real changes made)

{com}. replace c350 = .24 if e350 == 5
{txt}(36 real changes made)

{com}. replace c350 = .32 if e350 == 6
{txt}(16 real changes made)

{com}. replace c350 = .40 if e350 == 7
{txt}(34 real changes made)

{com}. replace c350 = .48 if e350 == 8
{txt}(54 real changes made)

{com}. replace c350 = .60 if e350 == 9
{txt}(37 real changes made)

{com}. replace c350 = .72 if e350 == 10
{txt}(47 real changes made)

{com}. 
. gen c400 = .
{txt}(1002 missing values generated)

{com}. replace c400 = 0 if e400 == 1
{txt}(231 real changes made)

{com}. replace c400 = .04 if e400 == 2
{txt}(7 real changes made)

{com}. replace c400 = .08 if e400 == 3
{txt}(8 real changes made)

{com}. replace c400 = .16 if e400 == 4
{txt}(9 real changes made)

{com}. replace c400 = .24 if e400 == 5
{txt}(22 real changes made)

{com}. replace c400 = .32 if e400 == 6
{txt}(11 real changes made)

{com}. replace c400 = .40 if e400 == 7
{txt}(15 real changes made)

{com}. replace c400 = .48 if e400 == 8
{txt}(27 real changes made)

{com}. replace c400 = .60 if e400 == 9
{txt}(31 real changes made)

{com}. replace c400 = .72 if e400 == 10
{txt}(66 real changes made)

{com}. 
. ***Drop the highest effort amount
. drop c400
{txt}
{com}. 
. ***In order to properly reshape the data, we must rename the effort and cost of effort at $0 and $0.50
. rename e000 e0
{txt}
{com}. rename e050 e50
{txt}
{com}. rename c000 c0
{txt}
{com}. rename c050 c50
{txt}
{com}. 
. ***Create the corresponding wages for each effort choice
. gen w0 = 0
{txt}
{com}. gen w50 = .5
{txt}
{com}. gen w100 = 1
{txt}
{com}. gen w150 = 1.5
{txt}
{com}. gen w200 = 2
{txt}
{com}. gen w250 = 2.5
{txt}
{com}. gen w300 = 3
{txt}
{com}. gen w350 = 3.5
{txt}
{com}. 
. ***Create the estimated regression parameter where beta=reciprocity
. gen beta=.
{txt}(1002 missing values generated)

{com}. 
. replace id = _n
{txt}(996 real changes made)

{com}. 
. ***Reshape the data so that we can regress cost of effort on all possible wages, by subject
. reshape long c, i(id) j(w)
{txt}(note: j = 0 50 100 150 200 250 300 350)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}    1002   {txt}->{res}    8016
{txt}Number of variables            {res}     221   {txt}->{res}     215
{txt}j variable (8 values)                     ->   {res}w
{txt}xij variables:
                        {res}c0 c50 ... c350   {txt}->   {res}c
{txt}{hline 77}

{com}. 
. ***Loop through all subjects and regress the effort on wage by each subject and save values of regression
. ***Note that some subjects did not do this section so we exclude them here. Only subjects numbered 263 through 689 did the gift exchange task.
. quiet forvalues x = 263/689 {c -(}
{txt}
{com}. 
. ***Reshape the data to its original form
. reshape wide c, i(id) j(w)
{txt}(note: j = 0 50 100 150 200 250 300 350)

Data{col 36}long{col 43}->{col 48}wide
{hline 77}
Number of obs.                 {res}    8016   {txt}->{res}    1002
{txt}Number of variables            {res}     215   {txt}->{res}     221
{txt}j variable (8 values)                 {res}w   {txt}->   (dropped)
xij variables:
                                      {res}c   {txt}->   {res}c0 c50 ... c350
{txt}{hline 77}

{com}. 
. ***Public Good Contribution
. rename s6 contribute
{txt}
{com}. 
. ***Amount Given Away in Dictator Game
. rename s5 giveaway
{txt}
{com}. 
. ***Discount Rate
. 
. ***Create the upper limit of the discount rate.
. //gen r1=.
. //replace r1= ln(ln(10.10/10)) if s2q1==1
. //gen r2=.
. //replace r2= ln(ln(10.25/10)) if s2q2==1
. //gen r3=.
. //replace r3= ln(ln(10.50/10)) if s2q3==1
. //gen r4=.
. //replace r4= ln(ln(10.75/10)) if s2q4==1
. //gen r5=.
. //replace r5= ln(ln(11/10)) if s2q5==1
. //gen r6=.
. //replace r6= ln(ln(11.25/10)) if s2q6==1
. //gen r7=.
. //replace r7= ln(ln(11.50/10)) if s2q7==1
. //gen r8=.
. //replace r8= ln(ln(12/10)) if s2q8==1
. //gen r9=.
. //replace r9= ln(ln(12.50/10)) if s2q9==1
. //gen r10=.
. //replace r10= ln(ln(13/10)) if s2q10==1
. //gen r11=.
. //replace r11= ln(ln(14/10)) if s2q11==1
. //gen r12=.
. //replace r12= ln(ln(15/10)) if s2q12==1
. 
. ***Fill in the upper limit, rounding to 7 decimal places for now vs. 1 week choices.
. gen r1=.
{txt}(1002 missing values generated)

{com}. replace r1= -4.6101495 if s2q1==1
{txt}(134 real changes made)

{com}. gen r2=.
{txt}(1002 missing values generated)

{com}. replace r2= -3.7012512 if s2q2==1
{txt}(163 real changes made)

{com}. gen r3=.
{txt}(1002 missing values generated)

{com}. replace r3= -3.0202265 if s2q3==1
{txt}(185 real changes made)

{com}. gen r4=.
{txt}(1002 missing values generated)

{com}. replace r4= -2.6266454 if s2q4==1
{txt}(195 real changes made)

{com}. gen r5=.
{txt}(1002 missing values generated)

{com}. replace r5= -2.3506187 if s2q5==1
{txt}(264 real changes made)

{com}. gen r6=.
{txt}(1002 missing values generated)

{com}. replace r6= -2.1389110  if s2q6==1
{txt}(270 real changes made)

{com}. gen r7=.
{txt}(1002 missing values generated)

{com}. replace r7= -1.9678147 if s2q7==1
{txt}(280 real changes made)

{com}. gen r8=.
{txt}(1002 missing values generated)

{com}. replace r8= -1.7019834 if s2q8==1
{txt}(316 real changes made)

{com}. gen r9=.
{txt}(1002 missing values generated)

{com}. replace r9= -1.4999400 if s2q9==1
{txt}(320 real changes made)

{com}. gen r10=.
{txt}(1002 missing values generated)

{com}. replace r10= -1.3380214 if s2q10==1
{txt}(353 real changes made)

{com}. gen r11=.
{txt}(1002 missing values generated)

{com}. replace r11= -1.0892396 if s2q11==1
{txt}(369 real changes made)

{com}. gen r12=.
{txt}(1002 missing values generated)

{com}. replace r12= -0.9027205 if s2q12==1
{txt}(390 real changes made)

{com}. 
. ***Choose the upper limit for the first time the subject makes the patient choice in the now vs. 1 week section.
. gen reservationr1= min(r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12)
{txt}(612 missing values generated)

{com}. 
. ***Note that the number of missing observations for s2q1 through s2q24 (for those subjects who completed participated in the time section) is always zero.
. 
. ***Fill in the upper limit, rounding to 7 decimal places for 1 week vs. 2 week choices.
. gen r13=.
{txt}(1002 missing values generated)

{com}. replace r13=-4.6101495 if s2q13==1
{txt}(163 real changes made)

{com}. gen r14=.
{txt}(1002 missing values generated)

{com}. replace r14= -3.7012512 if s2q14==1
{txt}(181 real changes made)

{com}. gen r15=.
{txt}(1002 missing values generated)

{com}. replace r15= -3.0202265 if s2q15==1
{txt}(199 real changes made)

{com}. gen r16=.
{txt}(1002 missing values generated)

{com}. replace r16= -2.6266454 if s2q16==1
{txt}(205 real changes made)

{com}. gen r17=.
{txt}(1002 missing values generated)

{com}. replace r17= -2.3506187 if s2q17==1
{txt}(276 real changes made)

{com}. gen r18=.
{txt}(1002 missing values generated)

{com}. replace r18= -2.1389110 if s2q18==1
{txt}(281 real changes made)

{com}. gen r19=.
{txt}(1002 missing values generated)

{com}. replace r19= -1.9678147 if s2q19==1
{txt}(294 real changes made)

{com}. gen r20=.
{txt}(1002 missing values generated)

{com}. replace r20= -1.7019834 if s2q20==1
{txt}(318 real changes made)

{com}. gen r21=.
{txt}(1002 missing values generated)

{com}. replace r21= -1.4999400 if s2q21==1
{txt}(323 real changes made)

{com}. gen r22=.
{txt}(1002 missing values generated)

{com}. replace r22= -1.3380214 if s2q22==1
{txt}(344 real changes made)

{com}. gen r23=.
{txt}(1002 missing values generated)

{com}. replace r23= -1.0892396 if s2q23==1
{txt}(361 real changes made)

{com}. gen r24=.
{txt}(1002 missing values generated)

{com}. replace r24= -0.9027205 if s2q24==1
{txt}(381 real changes made)

{com}. 
. ***Choose the upper limit for the first time the subject makes the patient choice in the 1 week vs. 2 week section.
. gen reservationr2=min(r13,r14,r15,r16,r17,r18,r19,r20,r21,r22,r23, r24)
{txt}(619 missing values generated)

{com}. 
. ***Each subject has an upper limit for the discount rate in now vs. 1 week and an upper limit for the discount rate in 1 week vs. two weeks. Rename these rateu_1 and rateu_2, respectively.
. rename reservationr1 rateu_1
{txt}
{com}. rename reservationr2 rateu_2
{txt}
{com}. ***Create a corresponding lower limit for each discount rate.
. gen ratel_1=. 
{txt}(1002 missing values generated)

{com}. gen ratel_2=.
{txt}(1002 missing values generated)

{com}. 
. ***Fill in the values for the lower limit of the discount rate.
. ***Note that log(x) returns the natural log of ln(x) 
. //replace ratel=. if rate==log(log(10.10/10))
. //replace ratel= log(log(10.10/10)) if rate==log(log(10.25/10))
. //replace ratel= log(log(10.25/10)) if rate==log(log(10.5/10))
. //replace ratel= log(log(10.5/10)) if rate==log(log(10.75/10))
. //replace ratel= log(log(10.75/10)) if rate==log(log(11/10))
. //replace ratel= log(log(11/10)) if rate==log(log(11.25/10))
. //replace ratel= log(log(11.25/10)) if rate==log(log(11.50/10))
. //replace ratel= log(log(11.50/10)) if rate==log(log(12/10))
. //replace ratel= log(log(12/10)) if rate==log(log(12.5/10))
. //replace ratel= log(log(12.5/10)) if rate==log(log(13/10))
. //replace ratel= log(log(13/10)) if rate==log(log(14/10))
. //replace ratel= log(log(14/10)) if rate==log(log(15/10))
. //replace ratel= log(log(15/10)) if rate==.
. 
. ***Fill in the values for the lower limit of the discount rate for now vs. 1 week. This only assigns a value to those who took part in this section.
. replace ratel_1=. if rateu_1 < -4.61 & s2q1 ~= .
{txt}(0 real changes made)

{com}. replace ratel_1= -4.6101494 if rateu_1 < -3.7 & rateu_1 > -4.61  & s2q1 ~= .
{txt}(29 real changes made)

{com}. replace ratel_1= -3.7012513 if rateu_1 < -3.02 & rateu_1 > -3.7  & s2q1 ~= .
{txt}(23 real changes made)

{com}. replace ratel_1= -3.0202265 if rateu_1 < -2.62 & rateu_1 > -3.02 & s2q1 ~= .
{txt}(11 real changes made)

{com}. replace ratel_1= -2.6266454 if rateu_1 < -2.35 & rateu_1 > -2.62 & s2q1 ~= .
{txt}(68 real changes made)

{com}. replace ratel_1= -2.350618  if rateu_1 < -2.13 & rateu_1 > -2.35 & s2q1 ~= .
{txt}(6 real changes made)

{com}. replace ratel_1= -2.1389110  if rateu_1 < -1.96 & rateu_1 > -2.13 & s2q1 ~= .
{txt}(11 real changes made)

{com}. replace ratel_1= -1.9678147  if rateu_1 < -1.70 & rateu_1 > -1.96 & s2q1 ~= .
{txt}(34 real changes made)

{com}. replace ratel_1= -1.7019834  if rateu_1 < -1.49 & rateu_1 > -1.70 & s2q1 ~= .
{txt}(9 real changes made)

{com}. replace ratel_1= -1.4999400  if rateu_1 < -1.33 & rateu_1 > -1.49 & s2q1 ~= .
{txt}(29 real changes made)

{com}. replace ratel_1= -1.3380214  if rateu_1 < -1.08 & rateu_1 > -1.33 & s2q1 ~= .
{txt}(17 real changes made)

{com}. replace ratel_1= -1.0892396  if rateu_1 < -0.90 & rateu_1 > -1.08 & s2q1 ~= .
{txt}(19 real changes made)

{com}. replace ratel_1= -0.9027205 if rateu_1 ==. & s2q1 ~= .
{txt}(16 real changes made)

{com}. 
. ***Fill in the values for the lower limit of the discount rate for 1 week vs. 2 week. This only assigns a value to those who took part in this section.
. replace ratel_2=. if rateu_2 < -4.61 & s2q1 ~= .
{txt}(0 real changes made)

{com}. replace ratel_2= -4.6101494 if rateu_2 < -3.7 & rateu_2 > -4.61 & s2q1 ~= .
{txt}(18 real changes made)

{com}. replace ratel_2= -3.7012513 if rateu_2 < -3.02 & rateu_2 > -3.7 & s2q1 ~= .
{txt}(18 real changes made)

{com}. replace ratel_2= -3.0202265 if rateu_2 < -2.62 & rateu_2 > -3.02 & s2q1 ~= .
{txt}(6 real changes made)

{com}. replace ratel_2= -2.6266454 if rateu_2 < -2.35 & rateu_2 > -2.62 & s2q1 ~= .
{txt}(71 real changes made)

{com}. replace ratel_2= -2.350618  if rateu_2 < -2.13 & rateu_2 > -2.35 & s2q1 ~= .
{txt}(7 real changes made)

{com}. replace ratel_2= -2.1389110  if rateu_2 < -1.96 & rateu_2 > -2.13 & s2q1 ~= .
{txt}(13 real changes made)

{com}. replace ratel_2= -1.9678147  if rateu_2 < -1.70 & rateu_2 > -1.96 & s2q1 ~= .
{txt}(23 real changes made)

{com}. replace ratel_2= -1.7019834  if rateu_2 < -1.49 & rateu_2 > -1.70 & s2q1 ~= .
{txt}(7 real changes made)

{com}. replace ratel_2= -1.4999400  if rateu_2 < -1.33 & rateu_2 > -1.49 & s2q1 ~= .
{txt}(21 real changes made)

{com}. replace ratel_2= -1.3380214  if rateu_2 < -1.08 & rateu_2 > -1.33 & s2q1 ~= .
{txt}(17 real changes made)

{com}. replace ratel_2= -1.0892396  if rateu_2 < -0.90 & rateu_2 > -1.08 & s2q1 ~= .
{txt}(19 real changes made)

{com}. replace ratel_2= -0.9027205 if rateu_2 ==. & s2q1 ~= .
{txt}(23 real changes made)

{com}. 
. 
. 
. 
. ***Risk Aversion
. 
. ***Generate upper limit for risk with small amounts
. gen risk1=.
{txt}(1002 missing values generated)

{com}. replace risk1=(1.6*0.5-1) if s3q1==1
{txt}(37 real changes made)

{com}. gen risk2=.
{txt}(1002 missing values generated)

{com}. replace risk2=(2*0.5-1) if s3q2==1
{txt}(111 real changes made)

{com}. gen risk3=.
{txt}(1002 missing values generated)

{com}. replace risk3=(2.4*0.5-1) if s3q3==1
{txt}(244 real changes made)

{com}. gen risk4=.
{txt}(1002 missing values generated)

{com}. replace risk4=(2.8*0.5-1) if s3q4==1
{txt}(342 real changes made)

{com}. gen risk5=.
{txt}(1002 missing values generated)

{com}. replace risk5=(3.2*0.5-1) if s3q5==1
{txt}(377 real changes made)

{com}. gen risk6=.
{txt}(1002 missing values generated)

{com}. replace risk6=(3.6*0.5-1) if s3q6==1
{txt}(390 real changes made)

{com}. 
. ***Choose the upper limit for the first time a subject chooses the risky asset with small amounts.
. gen reservationrisk1= min(risk1,risk2,risk3,risk4,risk5,risk6)
{txt}(607 missing values generated)

{com}. 
. ***Generate upper limit for risk with large amounts
. gen risk7=.
{txt}(1002 missing values generated)

{com}. replace risk7=(160*0.5-100)/100 if s4q1==1
{txt}(19 real changes made)

{com}. gen risk8=.
{txt}(1002 missing values generated)

{com}. replace risk8=(200*0.5-100)/100 if s4q2==1
{txt}(51 real changes made)

{com}. gen risk9=.
{txt}(1002 missing values generated)

{com}. replace risk9=(240*0.5-100)/100 if s4q3==1
{txt}(137 real changes made)

{com}. gen risk10=.
{txt}(1002 missing values generated)

{com}. replace risk10=(280*0.5-100)/100 if s4q4==1
{txt}(224 real changes made)

{com}. gen risk11=.
{txt}(1002 missing values generated)

{com}. replace risk11=(320*0.5-100)/100 if s4q5==1
{txt}(283 real changes made)

{com}. gen risk12=.
{txt}(1002 missing values generated)

{com}. replace risk12=(360*0.5-100)/100 if s4q6==1
{txt}(298 real changes made)

{com}. 
. ***Choose the upper limit for the first time a subject chooses the risky asset with large amounts.
. gen reservationrisk2= min(risk7,risk8,risk9,risk10,risk11,risk12)
{txt}(698 missing values generated)

{com}. 
. ***risku_1 and risku_2 are the upper limits for risky choices with small and large stakes, respectively.
. rename reservationrisk1 risku_1
{txt}
{com}. rename reservationrisk2 risku_2
{txt}
{com}. ***Create variables for the lower limits.
. gen riskl_1=.
{txt}(1002 missing values generated)

{com}. gen riskl_2=.
{txt}(1002 missing values generated)

{com}. 
. ***Assign values for the lower limit in small stakes. Only those who took participated in this section are assigned values.
. replace riskl_1=. if risku_1 < -.2  & s4q1 ~= .
{txt}(0 real changes made)

{com}. replace riskl_1=(1.6*0.5-1) if risku_1 == 0 & s4q1 ~= .
{txt}(76 real changes made)

{com}. replace riskl_1=(2*0.5-1) if risku_1 > .1 & risku_1 < .3 & s4q1 ~= .
{txt}(135 real changes made)

{com}. replace riskl_1=(2.4*0.5-1) if risku_1 > .3 & risku_1 < .5 & s4q1 ~= .
{txt}(97 real changes made)

{com}. replace riskl_1=(2.8*0.5-1) if risku_1 > .5 & risku_1 < .7 & s4q1 ~= .
{txt}(38 real changes made)

{com}. replace riskl_1=(3.2*0.5-1) if risku_1 > .7 & risku_1 < .9 & s4q1 ~= .
{txt}(12 real changes made)

{com}. replace riskl_1=(3.6*0.5-1) if risku_1 == . & s4q1 ~= .
{txt}(11 real changes made)

{com}. 
. ***Assign values for the lower limit in large stakes. Only those who took participated in this section are assigned values.
. replace riskl_2=. if risku_2 < -.2  & s4q1 ~= .
{txt}(0 real changes made)

{com}. replace riskl_2=(1.6*0.5-1) if risku_2 == 0 & s4q1 ~= .
{txt}(32 real changes made)

{com}. replace riskl_2=(2*0.5-1) if risku_2 > .1 & risku_2 < .3 & s4q1 ~= .
{txt}(90 real changes made)

{com}. replace riskl_2=(2.4*0.5-1) if risku_2 > .3 & risku_2 < .5 & s4q1 ~= .
{txt}(90 real changes made)

{com}. replace riskl_2=(2.8*0.5-1) if risku_2 > .5 & risku_2 < .7 & s4q1 ~= .
{txt}(59 real changes made)

{com}. replace riskl_2=(3.2*0.5-1) if risku_2 > .7 & risku_2 < .9 & s4q1 ~= .
{txt}(14 real changes made)

{com}. replace riskl_2=(3.6*0.5-1) if risku_2 == . & s4q1 ~= .
{txt}(102 real changes made)

{com}. 
. 
. ***Anagrams Attempted
. ***The corresponding variable is named "anagramsattempted"
. 
. ***Drop subjects who are not in our 4 religious groups
. drop if relig == .
{txt}(185 observations deleted)

{com}. 
. replace id = _n
{txt}(814 real changes made)

{com}. 
. ***Create the dependent variables. When p_i = d_i, the data is point data. When p_i ~= d_i, the data is interval data (only discount rate and risk aversion)
. rename contribute d1
{txt}
{com}. gen p1 = d1
{txt}(284 missing values generated)

{com}. rename beta d2
{txt}
{com}. gen p2 = d2
{txt}(474 missing values generated)

{com}. rename giveaway d3
{txt}
{com}. gen p3 = d3
{txt}(263 missing values generated)

{com}. rename ratel_1 d4
{txt}
{com}. rename rateu_1 p4
{txt}
{com}. rename ratel_2 d5
{txt}
{com}. rename rateu_2 p5
{txt}
{com}. rename riskl_1 d6
{txt}
{com}. rename risku_1 p6
{txt}
{com}. rename riskl_2 d7
{txt}
{com}. rename risku_2 p7
{txt}
{com}. rename anagramsattempted d8
{txt}
{com}. gen p8 = d8
{txt}(554 missing values generated)

{com}. *rename wageoffer d9
. *gen p9 = d9
. rename s6exp d9
{txt}
{com}. gen p9 = d9
{txt}(284 missing values generated)

{com}. 
. reshape long d p, i(id) j(section_num)
{txt}(note: j = 1 2 3 4 5 6 7 8 9)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}     817   {txt}->{res}    7353
{txt}Number of variables            {res}     270   {txt}->{res}     255
{txt}j variable (9 values)                     ->   {res}section_num
{txt}xij variables:
                           {res}d1 d2 ... d9   {txt}->   {res}d
                           p1 p2 ... p9   {txt}->   {res}p
{txt}{hline 77}

{com}. 
. ***Dummies for task type
. gen u1 = 0 //contribute
{txt}
{com}. replace u1 = 1 if section_num == 1 & d ~= .
{txt}(533 real changes made)

{com}. gen u2 = 0 //beta
{txt}
{com}. replace u2 = 1 if section_num == 2 & d ~= .
{txt}(343 real changes made)

{com}. gen u3 = 0 //giveaway
{txt}
{com}. replace u3 = 1 if section_num == 3 & d ~= .
{txt}(554 real changes made)

{com}. gen u4 = 0 //TP
{txt}
{com}. replace u4 = 1 if (section_num == 4 | section_num == 5) & (d ~= . | p ~= .)
{txt}(662 real changes made)

{com}. gen u5 = 0 //RP
{txt}
{com}. replace u5 = 1 if (section_num == 6 | section_num == 7) & (d ~= . | p ~= .)
{txt}(662 real changes made)

{com}. gen u6 = 0 //AN
{txt}
{com}. replace u6 = 1 if section_num == 8 & d ~= .
{txt}(263 real changes made)

{com}. gen u7 = 0 //s6exp (public good expectation)
{txt}
{com}. replace u7 = 1 if section_num == 9 & d ~= .
{txt}(533 real changes made)

{com}. 
. ***Additional controls
. gen onevstwo = 0
{txt}
{com}. replace onevstwo = 1 if section_num == 5
{txt}(817 real changes made)

{com}. gen largestakes = 0
{txt}
{com}. replace largestakes = 1 if section_num == 7
{txt}(817 real changes made)

{com}. 
. ***Treatment Dummies
. gen treatRpg = 0
{txt}
{com}. replace treatRpg = 1 if treatR == 1 & section_num == 1 & d ~= .
{txt}(267 real changes made)

{com}. gen treatRge = 0
{txt}
{com}. replace treatRge = 1 if treatR == 1 & section_num == 2 & d ~= .
{txt}(175 real changes made)

{com}. gen treatRdg = 0
{txt}
{com}. replace treatRdg = 1 if treatR == 1 & section_num == 3 & d ~= .
{txt}(276 real changes made)

{com}. gen treatRtp = 0
{txt}
{com}. replace treatRtp = 1 if treatR == 1 & (section_num == 4 | section_num == 5) & (d ~= . | p ~= .)
{txt}(320 real changes made)

{com}. gen treatRrp = 0
{txt}
{com}. replace treatRrp = 1 if treatR == 1 & (section_num == 6 | section_num == 7) & (d ~= . | p ~= .)
{txt}(320 real changes made)

{com}. gen treatRan = 0
{txt}
{com}. replace treatRan = 1 if treatR == 1 & section_num == 8 & d ~= .
{txt}(130 real changes made)

{com}. gen treatRtr = 0
{txt}
{com}. replace treatRtr = 1 if treatR == 1 & section_num == 9 & d ~= .
{txt}(267 real changes made)

{com}. 
. ***Religion interactions
. gen prot = 0
{txt}
{com}. replace prot = 1 if relig == 1
{txt}(2286 real changes made)

{com}. gen prot1 = prot * u1
{txt}
{com}. gen prot2 = prot * u2
{txt}
{com}. gen prot3 = prot * u3
{txt}
{com}. gen prot4 = prot * u4
{txt}
{com}. gen prot5 = prot * u5
{txt}
{com}. gen prot6 = prot * u6
{txt}
{com}. gen prot7 = prot * u7
{txt}
{com}. gen prot8 = prot * onevstwo
{txt}
{com}. gen prot9 = prot * largestakes
{txt}
{com}. gen prot10 = prot * treatRpg
{txt}
{com}. gen prot11 = prot * treatRge 
{txt}
{com}. gen prot12 = prot * treatRdg 
{txt}
{com}. gen prot13 = prot * treatRtp 
{txt}
{com}. gen prot14 = prot * treatRrp 
{txt}
{com}. gen prot15 = prot * treatRan 
{txt}
{com}. gen prot16 = prot * treatRtr
{txt}
{com}. 
. gen cath = 0
{txt}
{com}. replace cath = 1 if relig == 2
{txt}(1791 real changes made)

{com}. gen cath1 = cath * u1
{txt}
{com}. gen cath2 = cath * u2
{txt}
{com}. gen cath3 = cath * u3
{txt}
{com}. gen cath4 = cath * u4
{txt}
{com}. gen cath5 = cath * u5
{txt}
{com}. gen cath6 = cath * u6
{txt}
{com}. gen cath7 = cath * u7
{txt}
{com}. gen cath8 = cath * onevstwo
{txt}
{com}. gen cath9 = cath * largestakes
{txt}
{com}. gen cath10 = cath * treatRpg
{txt}
{com}. gen cath11 = cath * treatRge 
{txt}
{com}. gen cath12 = cath * treatRdg 
{txt}
{com}. gen cath13 = cath * treatRtp 
{txt}
{com}. gen cath14 = cath * treatRrp 
{txt}
{com}. gen cath15 = cath * treatRan 
{txt}
{com}. gen cath16 = cath * treatRtr
{txt}
{com}. 
. gen jewi = 0
{txt}
{com}. replace jewi = 1 if relig == 3
{txt}(855 real changes made)

{com}. gen jewi1 = jewi * u1
{txt}
{com}. gen jewi2 = jewi * u2
{txt}
{com}. gen jewi3 = jewi * u3
{txt}
{com}. gen jewi4 = jewi * u4
{txt}
{com}. gen jewi5 = jewi * u5
{txt}
{com}. gen jewi6 = jewi * u6
{txt}
{com}. gen jewi7 = jewi * u7
{txt}
{com}. gen jewi8 = jewi * onevstwo
{txt}
{com}. gen jewi9 = jewi * largestakes
{txt}
{com}. gen jewi10 = jewi * treatRpg
{txt}
{com}. gen jewi11 = jewi * treatRge 
{txt}
{com}. gen jewi12 = jewi * treatRdg 
{txt}
{com}. gen jewi13 = jewi * treatRtp 
{txt}
{com}. gen jewi14 = jewi * treatRrp 
{txt}
{com}. gen jewi15 = jewi * treatRan
{txt}
{com}. gen jewi16 = jewi * treatRtr
{txt}
{com}. 
. gen atag = 0
{txt}
{com}. replace atag = 1 if relig == 4
{txt}(2421 real changes made)

{com}. gen atag1 = atag * u1
{txt}
{com}. gen atag2 = atag * u2
{txt}
{com}. gen atag3 = atag * u3
{txt}
{com}. gen atag4 = atag * u4
{txt}
{com}. gen atag5 = atag * u5
{txt}
{com}. gen atag6 = atag * u6
{txt}
{com}. gen atag7 = atag * u7
{txt}
{com}. gen atag8 = atag * onevstwo
{txt}
{com}. gen atag9 = atag * largestakes
{txt}
{com}. gen atag10 = atag * treatRpg
{txt}
{com}. gen atag11 = atag * treatRge 
{txt}
{com}. gen atag12 = atag * treatRdg 
{txt}
{com}. gen atag13 = atag * treatRtp 
{txt}
{com}. gen atag14 = atag * treatRrp 
{txt}
{com}. gen atag15 = atag * treatRan
{txt}
{com}. gen atag16 = atag * treatRtr
{txt}
{com}. 
. intreg d p prot1 prot2 prot3 prot4 prot5 prot6 prot7 prot8 prot9 prot10 prot11 prot12 prot13 prot14 prot15 prot16 cath1 cath2 cath3 cath4 cath5 cath6 cath7 cath8 cath9 cath10 cath11 cath12 cath13 cath14 cath15 cath16 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 jewi8 jewi9 jewi10 jewi11 jewi12 jewi13 jewi14 jewi15 jewi16 atag1 atag2 atag3 atag4 atag5 atag6 atag7 atag8 atag9 atag10 atag11 atag12 atag13 atag14 atag15 atag16 , noconstant het(prot1 prot2 prot3 prot4 prot5 prot6 prot7 cath1 cath2 cath3 cath4 cath5 cath6 cath7 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 atag1 atag2 atag3 atag4 atag5 atag6 atag7) cluster(id)
{txt}note: atag7 omitted because of collinearity

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-18486.787}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-17008.183}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-15868.999}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-12818.174}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res: -6296.131}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-3045.9239}  (not concave)
Iteration 6:{space 3}log pseudolikelihood = {res:-2594.6501}  
Iteration 7:{space 3}log pseudolikelihood = {res:-2310.6838}  
Iteration 8:{space 3}log pseudolikelihood = {res:-2225.5672}  
Iteration 9:{space 3}log pseudolikelihood = {res:-2223.1287}  
Iteration 10:{space 2}log pseudolikelihood = {res:-2223.1167}  
Iteration 11:{space 2}log pseudolikelihood = {res:-2223.1167}  
{res}
{txt}Interval regression{col 51}Number of obs{col 67}= {res}      3550
{txt}{col 51}Wald chi2({res}64{txt}){col 67}= {res}   5488.59
{txt}Log pseudolikelihood = {res}-2223.1167{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:817} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}model        {txt}{c |}
{space 7}prot1 {c |}{col 14}{res}{space 2} .5278571{col 26}{space 2} .0467093{col 37}{space 1}   11.30{col 46}{space 3}0.000{col 54}{space 4} .4363087{col 67}{space 3} .6194056
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2} .0008598{col 26}{space 2} .0001166{col 37}{space 1}    7.37{col 46}{space 3}0.000{col 54}{space 4} .0006313{col 67}{space 3} .0010884
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2} .2144944{col 26}{space 2}  .032462{col 37}{space 1}    6.61{col 46}{space 3}0.000{col 54}{space 4}   .15087{col 67}{space 3} .2781188
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2}-3.027213{col 26}{space 2} .2592555{col 37}{space 1}  -11.68{col 46}{space 3}0.000{col 54}{space 4}-3.535344{col 67}{space 3}-2.519081
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .2344143{col 26}{space 2} .0485873{col 37}{space 1}    4.82{col 46}{space 3}0.000{col 54}{space 4}  .139185{col 67}{space 3} .3296437
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2} 29.02564{col 26}{space 2} 1.744842{col 37}{space 1}   16.64{col 46}{space 3}0.000{col 54}{space 4} 25.60581{col 67}{space 3} 32.44547
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2}  .597619{col 26}{space 2} .0335331{col 37}{space 1}   17.82{col 46}{space 3}0.000{col 54}{space 4} .5318954{col 67}{space 3} .6633426
{txt}{space 7}prot8 {c |}{col 14}{res}{space 2} .0044334{col 26}{space 2} .1088734{col 37}{space 1}    0.04{col 46}{space 3}0.968{col 54}{space 4}-.2089545{col 67}{space 3} .2178212
{txt}{space 7}prot9 {c |}{col 14}{res}{space 2} .2736465{col 26}{space 2}  .045504{col 37}{space 1}    6.01{col 46}{space 3}0.000{col 54}{space 4} .1844602{col 67}{space 3} .3628327
{txt}{space 6}prot10 {c |}{col 14}{res}{space 2} .1568555{col 26}{space 2}  .061288{col 37}{space 1}    2.56{col 46}{space 3}0.010{col 54}{space 4} .0367332{col 67}{space 3} .2769778
{txt}{space 6}prot11 {c |}{col 14}{res}{space 2} .0000414{col 26}{space 2} .0001586{col 37}{space 1}    0.26{col 46}{space 3}0.794{col 54}{space 4}-.0002694{col 67}{space 3} .0003522
{txt}{space 6}prot12 {c |}{col 14}{res}{space 2}-.0234717{col 26}{space 2} .0429624{col 37}{space 1}   -0.55{col 46}{space 3}0.585{col 54}{space 4}-.1076764{col 67}{space 3} .0607331
{txt}{space 6}prot13 {c |}{col 14}{res}{space 2} .3500305{col 26}{space 2} .3555527{col 37}{space 1}    0.98{col 46}{space 3}0.325{col 54}{space 4}  -.34684{col 67}{space 3} 1.046901
{txt}{space 6}prot14 {c |}{col 14}{res}{space 2}-.0315487{col 26}{space 2} .0626904{col 37}{space 1}   -0.50{col 46}{space 3}0.615{col 54}{space 4}-.1544197{col 67}{space 3} .0913222
{txt}{space 6}prot15 {c |}{col 14}{res}{space 2}-.7098516{col 26}{space 2} 2.406605{col 37}{space 1}   -0.29{col 46}{space 3}0.768{col 54}{space 4}-5.426711{col 67}{space 3} 4.007008
{txt}{space 6}prot16 {c |}{col 14}{res}{space 2} .0264039{col 26}{space 2} .0466898{col 37}{space 1}    0.57{col 46}{space 3}0.572{col 54}{space 4}-.0651064{col 67}{space 3} .1179143
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .7022222{col 26}{space 2} .0479814{col 37}{space 1}   14.64{col 46}{space 3}0.000{col 54}{space 4} .6081805{col 67}{space 3} .7962639
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2} .0007882{col 26}{space 2} .0001377{col 37}{space 1}    5.72{col 46}{space 3}0.000{col 54}{space 4} .0005183{col 67}{space 3}  .001058
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2} .1720313{col 26}{space 2} .0355013{col 37}{space 1}    4.85{col 46}{space 3}0.000{col 54}{space 4}   .10245{col 67}{space 3} .2416125
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2}-3.526361{col 26}{space 2} .3594196{col 37}{space 1}   -9.81{col 46}{space 3}0.000{col 54}{space 4} -4.23081{col 67}{space 3}-2.821911
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2} .2090108{col 26}{space 2} .0487258{col 37}{space 1}    4.29{col 46}{space 3}0.000{col 54}{space 4} .1135099{col 67}{space 3} .3045117
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} 31.08824{col 26}{space 2} 2.846445{col 37}{space 1}   10.92{col 46}{space 3}0.000{col 54}{space 4} 25.50931{col 67}{space 3} 36.66716
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .7339683{col 26}{space 2} .0382141{col 37}{space 1}   19.21{col 46}{space 3}0.000{col 54}{space 4}   .65907{col 67}{space 3} .8088665
{txt}{space 7}cath8 {c |}{col 14}{res}{space 2}-.1655479{col 26}{space 2}  .173758{col 37}{space 1}   -0.95{col 46}{space 3}0.341{col 54}{space 4}-.5061074{col 67}{space 3} .1750116
{txt}{space 7}cath9 {c |}{col 14}{res}{space 2} .3059685{col 26}{space 2} .0514511{col 37}{space 1}    5.95{col 46}{space 3}0.000{col 54}{space 4} .2051262{col 67}{space 3} .4068109
{txt}{space 6}cath10 {c |}{col 14}{res}{space 2}-.1834222{col 26}{space 2} .0677962{col 37}{space 1}   -2.71{col 46}{space 3}0.007{col 54}{space 4}-.3163003{col 67}{space 3}-.0505441
{txt}{space 6}cath11 {c |}{col 14}{res}{space 2} .0000522{col 26}{space 2} .0001746{col 37}{space 1}    0.30{col 46}{space 3}0.765{col 54}{space 4}-.0002899{col 67}{space 3} .0003944
{txt}{space 6}cath12 {c |}{col 14}{res}{space 2}-.0373646{col 26}{space 2}  .043551{col 37}{space 1}   -0.86{col 46}{space 3}0.391{col 54}{space 4}-.1227229{col 67}{space 3} .0479937
{txt}{space 6}cath13 {c |}{col 14}{res}{space 2}  .426943{col 26}{space 2} .4937353{col 37}{space 1}    0.86{col 46}{space 3}0.387{col 54}{space 4}-.5407604{col 67}{space 3} 1.394647
{txt}{space 6}cath14 {c |}{col 14}{res}{space 2}-.1137943{col 26}{space 2} .0678316{col 37}{space 1}   -1.68{col 46}{space 3}0.093{col 54}{space 4}-.2467417{col 67}{space 3} .0191531
{txt}{space 6}cath15 {c |}{col 14}{res}{space 2} 1.757919{col 26}{space 2} 3.911457{col 37}{space 1}    0.45{col 46}{space 3}0.653{col 54}{space 4}-5.908397{col 67}{space 3} 9.424234
{txt}{space 6}cath16 {c |}{col 14}{res}{space 2}-.1183683{col 26}{space 2}  .052374{col 37}{space 1}   -2.26{col 46}{space 3}0.024{col 54}{space 4}-.2210194{col 67}{space 3}-.0157171
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .5584375{col 26}{space 2}   .07433{col 37}{space 1}    7.51{col 46}{space 3}0.000{col 54}{space 4} .4127534{col 67}{space 3} .7041216
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2} .0004717{col 26}{space 2} .0001548{col 37}{space 1}    3.05{col 46}{space 3}0.002{col 54}{space 4} .0001683{col 67}{space 3} .0007751
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}      .14{col 26}{space 2} .0428815{col 37}{space 1}    3.26{col 46}{space 3}0.001{col 54}{space 4} .0559538{col 67}{space 3} .2240462
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-3.620711{col 26}{space 2} .4333874{col 37}{space 1}   -8.35{col 46}{space 3}0.000{col 54}{space 4}-4.470135{col 67}{space 3}-2.771287
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2} .0925979{col 26}{space 2} .0406878{col 37}{space 1}    2.28{col 46}{space 3}0.023{col 54}{space 4} .0128511{col 67}{space 3} .1723446
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 33.64706{col 26}{space 2} 4.340422{col 37}{space 1}    7.75{col 46}{space 3}0.000{col 54}{space 4} 25.13999{col 67}{space 3} 42.15413
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}  .611875{col 26}{space 2} .0520036{col 37}{space 1}   11.77{col 46}{space 3}0.000{col 54}{space 4} .5099499{col 67}{space 3} .7138001
{txt}{space 7}jewi8 {c |}{col 14}{res}{space 2}-.3701413{col 26}{space 2} .2659545{col 37}{space 1}   -1.39{col 46}{space 3}0.164{col 54}{space 4}-.8914025{col 67}{space 3}   .15112
{txt}{space 7}jewi9 {c |}{col 14}{res}{space 2} .2601205{col 26}{space 2} .0664489{col 37}{space 1}    3.91{col 46}{space 3}0.000{col 54}{space 4} .1298831{col 67}{space 3} .3903579
{txt}{space 6}jewi10 {c |}{col 14}{res}{space 2} .0115625{col 26}{space 2} .1134248{col 37}{space 1}    0.10{col 46}{space 3}0.919{col 54}{space 4} -.210746{col 67}{space 3}  .233871
{txt}{space 6}jewi11 {c |}{col 14}{res}{space 2} .0005985{col 26}{space 2} .0002635{col 37}{space 1}    2.27{col 46}{space 3}0.023{col 54}{space 4} .0000821{col 67}{space 3} .0011149
{txt}{space 6}jewi12 {c |}{col 14}{res}{space 2} .0062963{col 26}{space 2} .0643335{col 37}{space 1}    0.10{col 46}{space 3}0.922{col 54}{space 4} -.119795{col 67}{space 3} .1323876
{txt}{space 6}jewi13 {c |}{col 14}{res}{space 2} .3258263{col 26}{space 2} .5636717{col 37}{space 1}    0.58{col 46}{space 3}0.563{col 54}{space 4}-.7789499{col 67}{space 3} 1.430603
{txt}{space 6}jewi14 {c |}{col 14}{res}{space 2} .0214262{col 26}{space 2}  .056416{col 37}{space 1}    0.38{col 46}{space 3}0.704{col 54}{space 4}-.0891471{col 67}{space 3} .1319996
{txt}{space 6}jewi15 {c |}{col 14}{res}{space 2} 4.915441{col 26}{space 2} 5.804579{col 37}{space 1}    0.85{col 46}{space 3}0.397{col 54}{space 4}-6.461324{col 67}{space 3} 16.29221
{txt}{space 6}jewi16 {c |}{col 14}{res}{space 2} .0789583{col 26}{space 2} .0776773{col 37}{space 1}    1.02{col 46}{space 3}0.309{col 54}{space 4}-.0732864{col 67}{space 3} .2312031
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2} .4867816{col 26}{space 2} .0428912{col 37}{space 1}   11.35{col 46}{space 3}0.000{col 54}{space 4} .4027164{col 67}{space 3} .5708468
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2} .0009375{col 26}{space 2} .0001199{col 37}{space 1}    7.82{col 46}{space 3}0.000{col 54}{space 4} .0007026{col 67}{space 3} .0011725
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2} .1651111{col 26}{space 2} .0242413{col 37}{space 1}    6.81{col 46}{space 3}0.000{col 54}{space 4} .1175991{col 67}{space 3} .2126231
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2}-4.396184{col 26}{space 2} .4139794{col 37}{space 1}  -10.62{col 46}{space 3}0.000{col 54}{space 4}-5.207569{col 67}{space 3}  -3.5848
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2} .1600286{col 26}{space 2} .0342693{col 37}{space 1}    4.67{col 46}{space 3}0.000{col 54}{space 4} .0928621{col 67}{space 3} .2271951
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} 32.02326{col 26}{space 2} 1.763462{col 37}{space 1}   18.16{col 46}{space 3}0.000{col 54}{space 4} 28.56693{col 67}{space 3} 35.47958
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2} .5248276{col 26}{space 2} .0319085{col 37}{space 1}   16.45{col 46}{space 3}0.000{col 54}{space 4}  .462288{col 67}{space 3} .5873671
{txt}{space 7}atag8 {c |}{col 14}{res}{space 2} -.296386{col 26}{space 2} .1721581{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.6338096{col 67}{space 3} .0410376
{txt}{space 7}atag9 {c |}{col 14}{res}{space 2} .2640933{col 26}{space 2} .0417038{col 37}{space 1}    6.33{col 46}{space 3}0.000{col 54}{space 4} .1823553{col 67}{space 3} .3458313
{txt}{space 6}atag10 {c |}{col 14}{res}{space 2} .1186505{col 26}{space 2} .0628881{col 37}{space 1}    1.89{col 46}{space 3}0.059{col 54}{space 4}-.0046079{col 67}{space 3} .2419089
{txt}{space 6}atag11 {c |}{col 14}{res}{space 2}-.0002045{col 26}{space 2} .0001554{col 37}{space 1}   -1.32{col 46}{space 3}0.188{col 54}{space 4}-.0005091{col 67}{space 3} .0001001
{txt}{space 6}atag12 {c |}{col 14}{res}{space 2} -.054646{col 26}{space 2} .0317179{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.1168119{col 67}{space 3} .0075199
{txt}{space 6}atag13 {c |}{col 14}{res}{space 2} .0838184{col 26}{space 2} .5032772{col 37}{space 1}    0.17{col 46}{space 3}0.868{col 54}{space 4}-.9025868{col 67}{space 3} 1.070224
{txt}{space 6}atag14 {c |}{col 14}{res}{space 2} -.115996{col 26}{space 2} .0521825{col 37}{space 1}   -2.22{col 46}{space 3}0.026{col 54}{space 4}-.2182718{col 67}{space 3}-.0137203
{txt}{space 6}atag15 {c |}{col 14}{res}{space 2} 2.116744{col 26}{space 2} 2.607666{col 37}{space 1}    0.81{col 46}{space 3}0.417{col 54}{space 4}-2.994187{col 67}{space 3} 7.227676
{txt}{space 6}atag16 {c |}{col 14}{res}{space 2} .0875181{col 26}{space 2} .0470391{col 37}{space 1}    1.86{col 46}{space 3}0.063{col 54}{space 4}-.0046768{col 67}{space 3}  .179713
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}lnsigma      {txt}{c |}
{space 7}prot1 {c |}{col 14}{res}{space 2}   .27298{col 26}{space 2} .0500884{col 37}{space 1}    5.45{col 46}{space 3}0.000{col 54}{space 4} .1748085{col 67}{space 3} .3711515
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2}-5.946661{col 26}{space 2} .0652645{col 37}{space 1}  -91.12{col 46}{space 3}0.000{col 54}{space 4}-6.074577{col 67}{space 3}-5.818745
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2}-.0615302{col 26}{space 2}  .075369{col 37}{space 1}   -0.82{col 46}{space 3}0.414{col 54}{space 4}-.2092508{col 67}{space 3} .0861903
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2} 1.849388{col 26}{space 2}  .093217{col 37}{space 1}   19.84{col 46}{space 3}0.000{col 54}{space 4} 1.666687{col 67}{space 3}  2.03209
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .2487036{col 26}{space 2} .0851211{col 37}{space 1}    2.92{col 46}{space 3}0.003{col 54}{space 4} .0818694{col 67}{space 3} .4155379
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2} 3.547879{col 26}{space 2} .0770152{col 37}{space 1}   46.07{col 46}{space 3}0.000{col 54}{space 4} 3.396932{col 67}{space 3} 3.698826
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2} .0032097{col 26}{space 2} .0576661{col 37}{space 1}    0.06{col 46}{space 3}0.956{col 54}{space 4}-.1098138{col 67}{space 3} .1162331
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .2730007{col 26}{space 2} .0531135{col 37}{space 1}    5.14{col 46}{space 3}0.000{col 54}{space 4} .1689001{col 67}{space 3} .3771013
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2}-5.929643{col 26}{space 2} .0690063{col 37}{space 1}  -85.93{col 46}{space 3}0.000{col 54}{space 4}-6.064893{col 67}{space 3}-5.794393
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2}-.1930229{col 26}{space 2} .0916858{col 37}{space 1}   -2.11{col 46}{space 3}0.035{col 54}{space 4}-.3727238{col 67}{space 3} -.013322
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2} 1.972004{col 26}{space 2} .1052199{col 37}{space 1}   18.74{col 46}{space 3}0.000{col 54}{space 4} 1.765777{col 67}{space 3} 2.178231
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2} .1652505{col 26}{space 2} .0878029{col 37}{space 1}    1.88{col 46}{space 3}0.060{col 54}{space 4}  -.00684{col 67}{space 3}  .337341
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} 3.924591{col 26}{space 2} .1775324{col 37}{space 1}   22.11{col 46}{space 3}0.000{col 54}{space 4} 3.576634{col 67}{space 3} 4.272549
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .0094374{col 26}{space 2} .0592168{col 37}{space 1}    0.16{col 46}{space 3}0.873{col 54}{space 4}-.1066253{col 67}{space 3} .1255001
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .3230156{col 26}{space 2} .0577789{col 37}{space 1}    5.59{col 46}{space 3}0.000{col 54}{space 4} .2097711{col 67}{space 3} .4362601
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2}-5.914573{col 26}{space 2} .0943423{col 37}{space 1}  -62.69{col 46}{space 3}0.000{col 54}{space 4}-6.099481{col 67}{space 3}-5.729666
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}-.1891885{col 26}{space 2} .1410495{col 37}{space 1}   -1.34{col 46}{space 3}0.180{col 54}{space 4}-.4656404{col 67}{space 3} .0872634
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2} 1.807709{col 26}{space 2}  .115329{col 37}{space 1}   15.67{col 46}{space 3}0.000{col 54}{space 4} 1.581668{col 67}{space 3}  2.03375
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-.1452585{col 26}{space 2} .1081383{col 37}{space 1}   -1.34{col 46}{space 3}0.179{col 54}{space 4}-.3572056{col 67}{space 3} .0666887
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 4.007937{col 26}{space 2} .1375451{col 37}{space 1}   29.14{col 46}{space 3}0.000{col 54}{space 4} 3.738353{col 67}{space 3}  4.27752
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}-.0501228{col 26}{space 2} .0842167{col 37}{space 1}   -0.60{col 46}{space 3}0.552{col 54}{space 4}-.2151845{col 67}{space 3} .1149389
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2} .2907375{col 26}{space 2}  .035603{col 37}{space 1}    8.17{col 46}{space 3}0.000{col 54}{space 4} .2209569{col 67}{space 3} .3605181
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2}-5.906942{col 26}{space 2} .0630046{col 37}{space 1}  -93.75{col 46}{space 3}0.000{col 54}{space 4}-6.030429{col 67}{space 3}-5.783455
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2}-.3645592{col 26}{space 2} .0773931{col 37}{space 1}   -4.71{col 46}{space 3}0.000{col 54}{space 4}-.5162469{col 67}{space 3}-.2128714
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2} 2.048283{col 26}{space 2} .0855026{col 37}{space 1}   23.96{col 46}{space 3}0.000{col 54}{space 4} 1.880701{col 67}{space 3} 2.215866
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2} .0437273{col 26}{space 2}  .081319{col 37}{space 1}    0.54{col 46}{space 3}0.591{col 54}{space 4} -.115655{col 67}{space 3} .2031096
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} 3.730936{col 26}{space 2} .1103425{col 37}{space 1}   33.81{col 46}{space 3}0.000{col 54}{space 4} 3.514668{col 67}{space 3} 3.947203
{txt}{space 7}atag7 {c |}{col 14}{res}  (omitted)
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.190768{col 26}{space 2} .0402926{col 37}{space 1}  -29.55{col 46}{space 3}0.000{col 54}{space 4} -1.26974{col 67}{space 3}-1.111796
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

  Observation summary:{col 24}{res}      282{col 34}{txt} left-censored observations
{col 24}{res}     2226{col 34}{txt}    uncensored observations
{col 24}{res}      132{col 34}{txt}right-censored observations
{col 24}{res}      910{col 34}{txt}      interval observations

{com}. 
. test (prot10 = 0) (prot11 = 0) (prot12 = 0) (prot13 = 0) (prot14 = 0) (prot15 = 0) (prot16 = 0) (cath10 = 0) (cath11 = 0) (cath12 = 0) (cath13 = 0) (cath14 = 0) (cath15 = 0) (cath16 = 0) (jewi10 = 0) (jewi11 = 0) (jewi12 = 0) (jewi13 = 0) (jewi14 = 0) (jewi15 = 0) (jewi16 = 0) (atag10 = 0) (atag11 = 0) (atag12 = 0) (atag13 = 0) (atag14 = 0) (atag15 = 0) (atag16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]prot10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]prot11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]prot12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]prot13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]prot14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]prot15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]prot16 = 0{p_end}
{p 0 7}{space 1}{text:( 8)}{space 1} [model]cath10 = 0{p_end}
{p 0 7}{space 1}{text:( 9)}{space 1} [model]cath11 = 0{p_end}
{p 0 7}{space 1}{text:(10)}{space 1} [model]cath12 = 0{p_end}
{p 0 7}{space 1}{text:(11)}{space 1} [model]cath13 = 0{p_end}
{p 0 7}{space 1}{text:(12)}{space 1} [model]cath14 = 0{p_end}
{p 0 7}{space 1}{text:(13)}{space 1} [model]cath15 = 0{p_end}
{p 0 7}{space 1}{text:(14)}{space 1} [model]cath16 = 0{p_end}
{p 0 7}{space 1}{text:(15)}{space 1} [model]jewi10 = 0{p_end}
{p 0 7}{space 1}{text:(16)}{space 1} [model]jewi11 = 0{p_end}
{p 0 7}{space 1}{text:(17)}{space 1} [model]jewi12 = 0{p_end}
{p 0 7}{space 1}{text:(18)}{space 1} [model]jewi13 = 0{p_end}
{p 0 7}{space 1}{text:(19)}{space 1} [model]jewi14 = 0{p_end}
{p 0 7}{space 1}{text:(20)}{space 1} [model]jewi15 = 0{p_end}
{p 0 7}{space 1}{text:(21)}{space 1} [model]jewi16 = 0{p_end}
{p 0 7}{space 1}{text:(22)}{space 1} [model]atag10 = 0{p_end}
{p 0 7}{space 1}{text:(23)}{space 1} [model]atag11 = 0{p_end}
{p 0 7}{space 1}{text:(24)}{space 1} [model]atag12 = 0{p_end}
{p 0 7}{space 1}{text:(25)}{space 1} [model]atag13 = 0{p_end}
{p 0 7}{space 1}{text:(26)}{space 1} [model]atag14 = 0{p_end}
{p 0 7}{space 1}{text:(27)}{space 1} [model]atag15 = 0{p_end}
{p 0 7}{space 1}{text:(28)}{space 1} [model]atag16 = 0{p_end}

{txt}{col 12}chi2( 28) ={res}   51.24
{txt}{col 10}Prob > chi2 =  {res}  0.0047
{txt}
{com}. 
. 
. keep if relig == 1 | relig == 2 | relig == 3 | relig == 4
{txt}(0 observations deleted)

{com}. 
. 
. 
. 
. *Protestant is now reference
. intreg d p u1 u2 u3 u4 u5 u6 u7 onevstwo largestakes treatRpg treatRge treatRdg treatRtp treatRrp treatRan treatRtr cath1 cath2 cath3 cath4 cath5 cath6 cath7 cath8 cath9 cath10 cath11 cath12 cath13 cath14 cath15 cath16 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 jewi8 jewi9 jewi10 jewi11 jewi12 jewi13 jewi14 jewi15 jewi16 atag1 atag2 atag3 atag4 atag5 atag6 atag7 atag8 atag9 atag10 atag11 atag12 atag13 atag14 atag15 atag16, noconstant het(u1 u2 u3 u4 u5 u6 u7 cath1 cath2 cath3 cath4 cath5 cath6 cath7 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 atag1 atag2 atag3 atag4 atag5 atag6 atag7) cluster(id)
{txt}note: u7 omitted because of collinearity

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-18486.787}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-17008.673}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-15720.014}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res: -12380.75}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res: -6810.928}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-3148.0312}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2927.2209}  
Iteration 7:{space 3}log pseudolikelihood = {res:-2584.6959}  
Iteration 8:{space 3}log pseudolikelihood = {res:-2266.2589}  
Iteration 9:{space 3}log pseudolikelihood = {res:-2223.5013}  
Iteration 10:{space 2}log pseudolikelihood = {res:-2223.1169}  
Iteration 11:{space 2}log pseudolikelihood = {res:-2223.1167}  
Iteration 12:{space 2}log pseudolikelihood = {res:-2223.1167}  
{res}
{txt}Interval regression{col 51}Number of obs{col 67}= {res}      3550
{txt}{col 51}Wald chi2({res}64{txt}){col 67}= {res}   5488.59
{txt}Log pseudolikelihood = {res}-2223.1167{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:817} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}model        {txt}{c |}
{space 10}u1 {c |}{col 14}{res}{space 2} .5278571{col 26}{space 2} .0467093{col 37}{space 1}   11.30{col 46}{space 3}0.000{col 54}{space 4} .4363087{col 67}{space 3} .6194056
{txt}{space 10}u2 {c |}{col 14}{res}{space 2} .0008598{col 26}{space 2} .0001166{col 37}{space 1}    7.37{col 46}{space 3}0.000{col 54}{space 4} .0006313{col 67}{space 3} .0010884
{txt}{space 10}u3 {c |}{col 14}{res}{space 2} .2144944{col 26}{space 2}  .032462{col 37}{space 1}    6.61{col 46}{space 3}0.000{col 54}{space 4}   .15087{col 67}{space 3} .2781188
{txt}{space 10}u4 {c |}{col 14}{res}{space 2}-3.027213{col 26}{space 2} .2592555{col 37}{space 1}  -11.68{col 46}{space 3}0.000{col 54}{space 4}-3.535344{col 67}{space 3}-2.519081
{txt}{space 10}u5 {c |}{col 14}{res}{space 2} .2344143{col 26}{space 2} .0485873{col 37}{space 1}    4.82{col 46}{space 3}0.000{col 54}{space 4}  .139185{col 67}{space 3} .3296437
{txt}{space 10}u6 {c |}{col 14}{res}{space 2} 29.02564{col 26}{space 2} 1.744842{col 37}{space 1}   16.64{col 46}{space 3}0.000{col 54}{space 4} 25.60581{col 67}{space 3} 32.44547
{txt}{space 10}u7 {c |}{col 14}{res}{space 2}  .597619{col 26}{space 2} .0335331{col 37}{space 1}   17.82{col 46}{space 3}0.000{col 54}{space 4} .5318954{col 67}{space 3} .6633426
{txt}{space 4}onevstwo {c |}{col 14}{res}{space 2} .0044334{col 26}{space 2} .1088734{col 37}{space 1}    0.04{col 46}{space 3}0.968{col 54}{space 4}-.2089545{col 67}{space 3} .2178212
{txt}{space 1}largestakes {c |}{col 14}{res}{space 2} .2736465{col 26}{space 2}  .045504{col 37}{space 1}    6.01{col 46}{space 3}0.000{col 54}{space 4} .1844602{col 67}{space 3} .3628327
{txt}{space 4}treatRpg {c |}{col 14}{res}{space 2} .1568555{col 26}{space 2}  .061288{col 37}{space 1}    2.56{col 46}{space 3}0.010{col 54}{space 4} .0367332{col 67}{space 3} .2769778
{txt}{space 4}treatRge {c |}{col 14}{res}{space 2} .0000414{col 26}{space 2} .0001586{col 37}{space 1}    0.26{col 46}{space 3}0.794{col 54}{space 4}-.0002694{col 67}{space 3} .0003522
{txt}{space 4}treatRdg {c |}{col 14}{res}{space 2}-.0234717{col 26}{space 2} .0429624{col 37}{space 1}   -0.55{col 46}{space 3}0.585{col 54}{space 4}-.1076764{col 67}{space 3} .0607331
{txt}{space 4}treatRtp {c |}{col 14}{res}{space 2} .3500305{col 26}{space 2} .3555527{col 37}{space 1}    0.98{col 46}{space 3}0.325{col 54}{space 4}  -.34684{col 67}{space 3} 1.046901
{txt}{space 4}treatRrp {c |}{col 14}{res}{space 2}-.0315487{col 26}{space 2} .0626904{col 37}{space 1}   -0.50{col 46}{space 3}0.615{col 54}{space 4}-.1544197{col 67}{space 3} .0913222
{txt}{space 4}treatRan {c |}{col 14}{res}{space 2}-.7098516{col 26}{space 2} 2.406605{col 37}{space 1}   -0.29{col 46}{space 3}0.768{col 54}{space 4}-5.426711{col 67}{space 3} 4.007008
{txt}{space 4}treatRtr {c |}{col 14}{res}{space 2} .0264039{col 26}{space 2} .0466898{col 37}{space 1}    0.57{col 46}{space 3}0.572{col 54}{space 4}-.0651064{col 67}{space 3} .1179143
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .1743651{col 26}{space 2} .0669624{col 37}{space 1}    2.60{col 46}{space 3}0.009{col 54}{space 4} .0431212{col 67}{space 3}  .305609
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2}-.0000717{col 26}{space 2} .0001804{col 37}{space 1}   -0.40{col 46}{space 3}0.691{col 54}{space 4}-.0004253{col 67}{space 3} .0002819
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2}-.0424631{col 26}{space 2} .0481053{col 37}{space 1}   -0.88{col 46}{space 3}0.377{col 54}{space 4}-.1367479{col 67}{space 3} .0518216
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2}-.4991479{col 26}{space 2} .4431657{col 37}{space 1}   -1.13{col 46}{space 3}0.260{col 54}{space 4}-1.367737{col 67}{space 3} .3694409
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2}-.0254036{col 26}{space 2} .0688108{col 37}{space 1}   -0.37{col 46}{space 3}0.712{col 54}{space 4}-.1602703{col 67}{space 3} .1094632
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} 2.062594{col 26}{space 2} 3.338671{col 37}{space 1}    0.62{col 46}{space 3}0.537{col 54}{space 4} -4.48108{col 67}{space 3} 8.606268
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .1363492{col 26}{space 2} .0508408{col 37}{space 1}    2.68{col 46}{space 3}0.007{col 54}{space 4} .0367031{col 67}{space 3} .2359953
{txt}{space 7}cath8 {c |}{col 14}{res}{space 2}-.1699813{col 26}{space 2} .2050494{col 37}{space 1}   -0.83{col 46}{space 3}0.407{col 54}{space 4}-.5718708{col 67}{space 3} .2319082
{txt}{space 7}cath9 {c |}{col 14}{res}{space 2} .0323221{col 26}{space 2} .0686865{col 37}{space 1}    0.47{col 46}{space 3}0.638{col 54}{space 4} -.102301{col 67}{space 3} .1669451
{txt}{space 6}cath10 {c |}{col 14}{res}{space 2}-.3402777{col 26}{space 2} .0913923{col 37}{space 1}   -3.72{col 46}{space 3}0.000{col 54}{space 4}-.5194033{col 67}{space 3}-.1611522
{txt}{space 6}cath11 {c |}{col 14}{res}{space 2} .0000108{col 26}{space 2} .0002358{col 37}{space 1}    0.05{col 46}{space 3}0.963{col 54}{space 4}-.0004514{col 67}{space 3}  .000473
{txt}{space 6}cath12 {c |}{col 14}{res}{space 2}-.0138929{col 26}{space 2} .0611756{col 37}{space 1}   -0.23{col 46}{space 3}0.820{col 54}{space 4}-.1337949{col 67}{space 3}  .106009
{txt}{space 6}cath13 {c |}{col 14}{res}{space 2} .0769125{col 26}{space 2} .6084343{col 37}{space 1}    0.13{col 46}{space 3}0.899{col 54}{space 4}-1.115597{col 67}{space 3} 1.269422
{txt}{space 6}cath14 {c |}{col 14}{res}{space 2}-.0822456{col 26}{space 2} .0923645{col 37}{space 1}   -0.89{col 46}{space 3}0.373{col 54}{space 4}-.2632768{col 67}{space 3} .0987856
{txt}{space 6}cath15 {c |}{col 14}{res}{space 2}  2.46777{col 26}{space 2} 4.592521{col 37}{space 1}    0.54{col 46}{space 3}0.591{col 54}{space 4}-6.533405{col 67}{space 3} 11.46894
{txt}{space 6}cath16 {c |}{col 14}{res}{space 2}-.1447722{col 26}{space 2} .0701639{col 37}{space 1}   -2.06{col 46}{space 3}0.039{col 54}{space 4}-.2822909{col 67}{space 3}-.0072535
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .0305804{col 26}{space 2} .0877878{col 37}{space 1}    0.35{col 46}{space 3}0.728{col 54}{space 4}-.1414806{col 67}{space 3} .2026413
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2}-.0003882{col 26}{space 2} .0001938{col 37}{space 1}   -2.00{col 46}{space 3}0.045{col 54}{space 4} -.000768{col 67}{space 3}-8.35e-06
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}-.0744944{col 26}{space 2} .0537829{col 37}{space 1}   -1.39{col 46}{space 3}0.166{col 54}{space 4} -.179907{col 67}{space 3} .0309183
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-.5934983{col 26}{space 2} .5050129{col 37}{space 1}   -1.18{col 46}{space 3}0.240{col 54}{space 4}-1.583305{col 67}{space 3} .3963089
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-.1418165{col 26}{space 2} .0633737{col 37}{space 1}   -2.24{col 46}{space 3}0.025{col 54}{space 4}-.2660266{col 67}{space 3}-.0176063
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 4.621418{col 26}{space 2} 4.678005{col 37}{space 1}    0.99{col 46}{space 3}0.323{col 54}{space 4}-4.547304{col 67}{space 3} 13.79014
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}  .014256{col 26}{space 2} .0618776{col 37}{space 1}    0.23{col 46}{space 3}0.818{col 54}{space 4}-.1070219{col 67}{space 3} .1355338
{txt}{space 7}jewi8 {c |}{col 14}{res}{space 2}-.3745747{col 26}{space 2} .2873764{col 37}{space 1}   -1.30{col 46}{space 3}0.192{col 54}{space 4}-.9378221{col 67}{space 3} .1886728
{txt}{space 7}jewi9 {c |}{col 14}{res}{space 2}-.0135259{col 26}{space 2} .0805361{col 37}{space 1}   -0.17{col 46}{space 3}0.867{col 54}{space 4}-.1713739{col 67}{space 3}  .144322
{txt}{space 6}jewi10 {c |}{col 14}{res}{space 2} -.145293{col 26}{space 2}  .128924{col 37}{space 1}   -1.13{col 46}{space 3}0.260{col 54}{space 4}-.3979795{col 67}{space 3} .1073935
{txt}{space 6}jewi11 {c |}{col 14}{res}{space 2} .0005571{col 26}{space 2} .0003075{col 37}{space 1}    1.81{col 46}{space 3}0.070{col 54}{space 4}-.0000456{col 67}{space 3} .0011598
{txt}{space 6}jewi12 {c |}{col 14}{res}{space 2}  .029768{col 26}{space 2}   .07736{col 37}{space 1}    0.38{col 46}{space 3}0.700{col 54}{space 4}-.1218548{col 67}{space 3} .1813907
{txt}{space 6}jewi13 {c |}{col 14}{res}{space 2}-.0242042{col 26}{space 2}  .666441{col 37}{space 1}   -0.04{col 46}{space 3}0.971{col 54}{space 4}-1.330404{col 67}{space 3} 1.281996
{txt}{space 6}jewi14 {c |}{col 14}{res}{space 2} .0529749{col 26}{space 2} .0843377{col 37}{space 1}    0.63{col 46}{space 3}0.530{col 54}{space 4} -.112324{col 67}{space 3} .2182738
{txt}{space 6}jewi15 {c |}{col 14}{res}{space 2} 5.625293{col 26}{space 2}   6.2837{col 37}{space 1}    0.90{col 46}{space 3}0.371{col 54}{space 4}-6.690533{col 67}{space 3} 17.94112
{txt}{space 6}jewi16 {c |}{col 14}{res}{space 2} .0525544{col 26}{space 2} .0906295{col 37}{space 1}    0.58{col 46}{space 3}0.562{col 54}{space 4}-.1250761{col 67}{space 3} .2301849
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2}-.0410755{col 26}{space 2} .0634146{col 37}{space 1}   -0.65{col 46}{space 3}0.517{col 54}{space 4}-.1653658{col 67}{space 3} .0832147
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2} .0000777{col 26}{space 2} .0001672{col 37}{space 1}    0.46{col 46}{space 3}0.642{col 54}{space 4}-.0002501{col 67}{space 3} .0004054
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2}-.0493833{col 26}{space 2} .0405145{col 37}{space 1}   -1.22{col 46}{space 3}0.223{col 54}{space 4}-.1287902{col 67}{space 3} .0300236
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2}-1.368972{col 26}{space 2} .4884591{col 37}{space 1}   -2.80{col 46}{space 3}0.005{col 54}{space 4}-2.326334{col 67}{space 3}-.4116094
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2}-.0743857{col 26}{space 2} .0594568{col 37}{space 1}   -1.25{col 46}{space 3}0.211{col 54}{space 4}-.1909188{col 67}{space 3} .0421474
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} 2.997615{col 26}{space 2}  2.48078{col 37}{space 1}    1.21{col 46}{space 3}0.227{col 54}{space 4}-1.864625{col 67}{space 3} 7.859854
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2}-.0727915{col 26}{space 2} .0462884{col 37}{space 1}   -1.57{col 46}{space 3}0.116{col 54}{space 4}-.1635151{col 67}{space 3} .0179322
{txt}{space 7}atag8 {c |}{col 14}{res}{space 2}-.3008194{col 26}{space 2} .2036954{col 37}{space 1}   -1.48{col 46}{space 3}0.140{col 54}{space 4} -.700055{col 67}{space 3} .0984162
{txt}{space 7}atag9 {c |}{col 14}{res}{space 2}-.0095531{col 26}{space 2} .0617238{col 37}{space 1}   -0.15{col 46}{space 3}0.877{col 54}{space 4}-.1305295{col 67}{space 3} .1114232
{txt}{space 6}atag10 {c |}{col 14}{res}{space 2} -.038205{col 26}{space 2} .0878131{col 37}{space 1}   -0.44{col 46}{space 3}0.664{col 54}{space 4}-.2103154{col 67}{space 3} .1339054
{txt}{space 6}atag11 {c |}{col 14}{res}{space 2}-.0002459{col 26}{space 2}  .000222{col 37}{space 1}   -1.11{col 46}{space 3}0.268{col 54}{space 4}-.0006811{col 67}{space 3} .0001892
{txt}{space 6}atag12 {c |}{col 14}{res}{space 2}-.0311743{col 26}{space 2} .0534021{col 37}{space 1}   -0.58{col 46}{space 3}0.559{col 54}{space 4}-.1358406{col 67}{space 3} .0734919
{txt}{space 6}atag13 {c |}{col 14}{res}{space 2}-.2662121{col 26}{space 2} .6162027{col 37}{space 1}   -0.43{col 46}{space 3}0.666{col 54}{space 4}-1.473947{col 67}{space 3}  .941523
{txt}{space 6}atag14 {c |}{col 14}{res}{space 2}-.0844473{col 26}{space 2} .0815665{col 37}{space 1}   -1.04{col 46}{space 3}0.301{col 54}{space 4}-.2443147{col 67}{space 3} .0754201
{txt}{space 6}atag15 {c |}{col 14}{res}{space 2} 2.826596{col 26}{space 2} 3.548474{col 37}{space 1}    0.80{col 46}{space 3}0.426{col 54}{space 4}-4.128286{col 67}{space 3} 9.781478
{txt}{space 6}atag16 {c |}{col 14}{res}{space 2} .0611142{col 26}{space 2} .0662768{col 37}{space 1}    0.92{col 46}{space 3}0.356{col 54}{space 4} -.068786{col 67}{space 3} .1910143
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}lnsigma      {txt}{c |}
{space 10}u1 {c |}{col 14}{res}{space 2} .2697704{col 26}{space 2}   .03979{col 37}{space 1}    6.78{col 46}{space 3}0.000{col 54}{space 4} .1917834{col 67}{space 3} .3477573
{txt}{space 10}u2 {c |}{col 14}{res}{space 2}-5.949871{col 26}{space 2} .0663883{col 37}{space 1}  -89.62{col 46}{space 3}0.000{col 54}{space 4} -6.07999{col 67}{space 3}-5.819752
{txt}{space 10}u3 {c |}{col 14}{res}{space 2}-.0647399{col 26}{space 2} .0740094{col 37}{space 1}   -0.87{col 46}{space 3}0.382{col 54}{space 4}-.2097957{col 67}{space 3} .0803159
{txt}{space 10}u4 {c |}{col 14}{res}{space 2} 1.846179{col 26}{space 2} .0918343{col 37}{space 1}   20.10{col 46}{space 3}0.000{col 54}{space 4} 1.666187{col 67}{space 3} 2.026171
{txt}{space 10}u5 {c |}{col 14}{res}{space 2}  .245494{col 26}{space 2} .0816665{col 37}{space 1}    3.01{col 46}{space 3}0.003{col 54}{space 4} .0854305{col 67}{space 3} .4055574
{txt}{space 10}u6 {c |}{col 14}{res}{space 2} 3.544669{col 26}{space 2} .0775224{col 37}{space 1}   45.72{col 46}{space 3}0.000{col 54}{space 4} 3.392728{col 67}{space 3}  3.69661
{txt}{space 10}u7 {c |}{col 14}{res}  (omitted)
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .0000207{col 26}{space 2} .0456388{col 37}{space 1}    0.00{col 46}{space 3}1.000{col 54}{space 4}-.0894297{col 67}{space 3} .0894711
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2} .0170185{col 26}{space 2}  .075989{col 37}{space 1}    0.22{col 46}{space 3}0.823{col 54}{space 4}-.1319171{col 67}{space 3} .1659541
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2}-.1314927{col 26}{space 2} .1041143{col 37}{space 1}   -1.26{col 46}{space 3}0.207{col 54}{space 4}-.3355529{col 67}{space 3} .0725675
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2} .1226154{col 26}{space 2} .1285054{col 37}{space 1}    0.95{col 46}{space 3}0.340{col 54}{space 4}-.1292506{col 67}{space 3} .3744814
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2}-.0834531{col 26}{space 2} .1082033{col 37}{space 1}   -0.77{col 46}{space 3}0.441{col 54}{space 4}-.2955276{col 67}{space 3} .1286214
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} .3767129{col 26}{space 2} .1849382{col 37}{space 1}    2.04{col 46}{space 3}0.042{col 54}{space 4} .0142407{col 67}{space 3}  .739185
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .0062277{col 26}{space 2} .0598749{col 37}{space 1}    0.10{col 46}{space 3}0.917{col 54}{space 4} -.111125{col 67}{space 3} .1235804
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .0500356{col 26}{space 2} .0509927{col 37}{space 1}    0.98{col 46}{space 3}0.326{col 54}{space 4}-.0499082{col 67}{space 3} .1499793
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2} .0320879{col 26}{space 2} .0995637{col 37}{space 1}    0.32{col 46}{space 3}0.747{col 54}{space 4}-.1630534{col 67}{space 3} .2272293
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}-.1276583{col 26}{space 2} .1494271{col 37}{space 1}   -0.85{col 46}{space 3}0.393{col 54}{space 4}-.4205299{col 67}{space 3} .1652134
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-.0416794{col 26}{space 2} .1369058{col 37}{space 1}   -0.30{col 46}{space 3}0.761{col 54}{space 4}-.3100098{col 67}{space 3} .2266511
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-.3939621{col 26}{space 2} .1252697{col 37}{space 1}   -3.14{col 46}{space 3}0.002{col 54}{space 4}-.6394861{col 67}{space 3}-.1484381
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} .4600581{col 26}{space 2} .1469796{col 37}{space 1}    3.13{col 46}{space 3}0.002{col 54}{space 4} .1719834{col 67}{space 3} .7481329
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}-.0533325{col 26}{space 2} .0846808{col 37}{space 1}   -0.63{col 46}{space 3}0.529{col 54}{space 4}-.2193038{col 67}{space 3} .1126388
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2} .0177575{col 26}{space 2} .0399324{col 37}{space 1}    0.44{col 46}{space 3}0.657{col 54}{space 4}-.0605086{col 67}{space 3} .0960236
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2}  .039719{col 26}{space 2} .0703823{col 37}{space 1}    0.56{col 46}{space 3}0.573{col 54}{space 4}-.0982277{col 67}{space 3} .1776657
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2}-.3030289{col 26}{space 2} .0890755{col 37}{space 1}   -3.40{col 46}{space 3}0.001{col 54}{space 4}-.4776138{col 67}{space 3}-.1284441
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2} .1988951{col 26}{space 2} .1143381{col 37}{space 1}    1.74{col 46}{space 3}0.082{col 54}{space 4}-.0252034{col 67}{space 3} .4229935
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2}-.2049763{col 26}{space 2} .1006706{col 37}{space 1}   -2.04{col 46}{space 3}0.042{col 54}{space 4} -.402287{col 67}{space 3}-.0076657
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} .1830571{col 26}{space 2} .1219008{col 37}{space 1}    1.50{col 46}{space 3}0.133{col 54}{space 4}-.0558641{col 67}{space 3} .4219783
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2}-.0032097{col 26}{space 2} .0576661{col 37}{space 1}   -0.06{col 46}{space 3}0.956{col 54}{space 4}-.1162331{col 67}{space 3} .1098138
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.187559{col 26}{space 2} .0412538{col 37}{space 1}  -28.79{col 46}{space 3}0.000{col 54}{space 4}-1.268415{col 67}{space 3}-1.106703
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

  Observation summary:{col 24}{res}      282{col 34}{txt} left-censored observations
{col 24}{res}     2226{col 34}{txt}    uncensored observations
{col 24}{res}      132{col 34}{txt}right-censored observations
{col 24}{res}      910{col 34}{txt}      interval observations

{com}. 
. *are differences between prot and cath treatment effects jointly significant
. test (cath10 = 0) (cath11 = 0) (cath12 = 0) (cath13 = 0) (cath14 = 0) (cath15 = 0) (cath16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]cath10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]cath11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]cath12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]cath13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]cath14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]cath15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]cath16 = 0{p_end}

{txt}{col 12}chi2(  7) ={res}   16.30
{txt}{col 10}Prob > chi2 =  {res}  0.0225
{txt}
{com}. *are differences between prot and jewish treatment effects jointly significant
. test (jewi10 = 0) (jewi11 = 0) (jewi12 = 0) (jewi13 = 0) (jewi14 = 0) (jewi15 = 0) (jewi16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]jewi10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]jewi11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]jewi12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]jewi13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]jewi14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]jewi15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]jewi16 = 0{p_end}

{txt}{col 12}chi2(  7) ={res}   11.50
{txt}{col 10}Prob > chi2 =  {res}  0.1184
{txt}
{com}. 
. *Catholics are now reference
. intreg d p u1 u2 u3 u4 u5 u6 u7 onevstwo largestakes treatRpg treatRge treatRdg treatRtp treatRrp treatRan treatRtr prot1 prot2 prot3 prot4 prot5 prot6 prot7 prot8 prot9 prot10 prot11 prot12 prot13 prot14 prot15 prot16 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 jewi8 jewi9 jewi10 jewi11 jewi12 jewi13 jewi14 jewi15 jewi16 atag1 atag2 atag3 atag4 atag5 atag6 atag7 atag8 atag9 atag10 atag11 atag12 atag13 atag14 atag15 atag16, noconstant het(u1 u2 u3 u4 u5 u6 u7 prot1 prot2 prot3 prot4 prot5 prot6 prot7 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 atag1 atag2 atag3 atag4 atag5 atag6 atag7) cluster(id)
{txt}note: u7 omitted because of collinearity

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-18486.787}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-17008.636}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-15732.824}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-12419.372}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-6972.9954}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-3067.1613}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2760.3733}  (backed up)
Iteration 7:{space 3}log pseudolikelihood = {res:-2448.0895}  
Iteration 8:{space 3}log pseudolikelihood = {res:-2366.8725}  
Iteration 9:{space 3}log pseudolikelihood = {res:-2223.6455}  
Iteration 10:{space 2}log pseudolikelihood = {res: -2223.117}  
Iteration 11:{space 2}log pseudolikelihood = {res:-2223.1167}  
Iteration 12:{space 2}log pseudolikelihood = {res:-2223.1167}  
{res}
{txt}Interval regression{col 51}Number of obs{col 67}= {res}      3550
{txt}{col 51}Wald chi2({res}64{txt}){col 67}= {res}   5488.59
{txt}Log pseudolikelihood = {res}-2223.1167{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:817} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}model        {txt}{c |}
{space 10}u1 {c |}{col 14}{res}{space 2} .7022222{col 26}{space 2} .0479814{col 37}{space 1}   14.64{col 46}{space 3}0.000{col 54}{space 4} .6081805{col 67}{space 3} .7962639
{txt}{space 10}u2 {c |}{col 14}{res}{space 2} .0007882{col 26}{space 2} .0001377{col 37}{space 1}    5.72{col 46}{space 3}0.000{col 54}{space 4} .0005183{col 67}{space 3}  .001058
{txt}{space 10}u3 {c |}{col 14}{res}{space 2} .1720313{col 26}{space 2} .0355013{col 37}{space 1}    4.85{col 46}{space 3}0.000{col 54}{space 4}   .10245{col 67}{space 3} .2416125
{txt}{space 10}u4 {c |}{col 14}{res}{space 2}-3.526361{col 26}{space 2} .3594196{col 37}{space 1}   -9.81{col 46}{space 3}0.000{col 54}{space 4} -4.23081{col 67}{space 3}-2.821911
{txt}{space 10}u5 {c |}{col 14}{res}{space 2} .2090108{col 26}{space 2} .0487258{col 37}{space 1}    4.29{col 46}{space 3}0.000{col 54}{space 4} .1135099{col 67}{space 3} .3045117
{txt}{space 10}u6 {c |}{col 14}{res}{space 2} 31.08824{col 26}{space 2} 2.846445{col 37}{space 1}   10.92{col 46}{space 3}0.000{col 54}{space 4} 25.50931{col 67}{space 3} 36.66716
{txt}{space 10}u7 {c |}{col 14}{res}{space 2} .7339683{col 26}{space 2} .0382141{col 37}{space 1}   19.21{col 46}{space 3}0.000{col 54}{space 4}   .65907{col 67}{space 3} .8088665
{txt}{space 4}onevstwo {c |}{col 14}{res}{space 2}-.1655479{col 26}{space 2}  .173758{col 37}{space 1}   -0.95{col 46}{space 3}0.341{col 54}{space 4}-.5061074{col 67}{space 3} .1750116
{txt}{space 1}largestakes {c |}{col 14}{res}{space 2} .3059685{col 26}{space 2} .0514511{col 37}{space 1}    5.95{col 46}{space 3}0.000{col 54}{space 4} .2051262{col 67}{space 3} .4068109
{txt}{space 4}treatRpg {c |}{col 14}{res}{space 2}-.1834222{col 26}{space 2} .0677962{col 37}{space 1}   -2.71{col 46}{space 3}0.007{col 54}{space 4}-.3163003{col 67}{space 3}-.0505441
{txt}{space 4}treatRge {c |}{col 14}{res}{space 2} .0000522{col 26}{space 2} .0001746{col 37}{space 1}    0.30{col 46}{space 3}0.765{col 54}{space 4}-.0002899{col 67}{space 3} .0003944
{txt}{space 4}treatRdg {c |}{col 14}{res}{space 2}-.0373646{col 26}{space 2}  .043551{col 37}{space 1}   -0.86{col 46}{space 3}0.391{col 54}{space 4}-.1227229{col 67}{space 3} .0479937
{txt}{space 4}treatRtp {c |}{col 14}{res}{space 2}  .426943{col 26}{space 2} .4937353{col 37}{space 1}    0.86{col 46}{space 3}0.387{col 54}{space 4}-.5407604{col 67}{space 3} 1.394647
{txt}{space 4}treatRrp {c |}{col 14}{res}{space 2}-.1137943{col 26}{space 2} .0678316{col 37}{space 1}   -1.68{col 46}{space 3}0.093{col 54}{space 4}-.2467417{col 67}{space 3} .0191531
{txt}{space 4}treatRan {c |}{col 14}{res}{space 2} 1.757919{col 26}{space 2} 3.911457{col 37}{space 1}    0.45{col 46}{space 3}0.653{col 54}{space 4}-5.908397{col 67}{space 3} 9.424234
{txt}{space 4}treatRtr {c |}{col 14}{res}{space 2}-.1183683{col 26}{space 2}  .052374{col 37}{space 1}   -2.26{col 46}{space 3}0.024{col 54}{space 4}-.2210194{col 67}{space 3}-.0157171
{txt}{space 7}prot1 {c |}{col 14}{res}{space 2}-.1743651{col 26}{space 2} .0669624{col 37}{space 1}   -2.60{col 46}{space 3}0.009{col 54}{space 4} -.305609{col 67}{space 3}-.0431212
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2} .0000717{col 26}{space 2} .0001804{col 37}{space 1}    0.40{col 46}{space 3}0.691{col 54}{space 4}-.0002819{col 67}{space 3} .0004253
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2} .0424631{col 26}{space 2} .0481053{col 37}{space 1}    0.88{col 46}{space 3}0.377{col 54}{space 4}-.0518216{col 67}{space 3} .1367479
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2} .4991479{col 26}{space 2} .4431657{col 37}{space 1}    1.13{col 46}{space 3}0.260{col 54}{space 4}-.3694409{col 67}{space 3} 1.367737
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .0254036{col 26}{space 2} .0688108{col 37}{space 1}    0.37{col 46}{space 3}0.712{col 54}{space 4}-.1094632{col 67}{space 3} .1602703
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2}-2.062594{col 26}{space 2} 3.338671{col 37}{space 1}   -0.62{col 46}{space 3}0.537{col 54}{space 4}-8.606268{col 67}{space 3}  4.48108
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2}-.1363492{col 26}{space 2} .0508408{col 37}{space 1}   -2.68{col 46}{space 3}0.007{col 54}{space 4}-.2359953{col 67}{space 3}-.0367031
{txt}{space 7}prot8 {c |}{col 14}{res}{space 2} .1699813{col 26}{space 2} .2050494{col 37}{space 1}    0.83{col 46}{space 3}0.407{col 54}{space 4}-.2319082{col 67}{space 3} .5718708
{txt}{space 7}prot9 {c |}{col 14}{res}{space 2}-.0323221{col 26}{space 2} .0686865{col 37}{space 1}   -0.47{col 46}{space 3}0.638{col 54}{space 4}-.1669451{col 67}{space 3}  .102301
{txt}{space 6}prot10 {c |}{col 14}{res}{space 2} .3402777{col 26}{space 2} .0913923{col 37}{space 1}    3.72{col 46}{space 3}0.000{col 54}{space 4} .1611522{col 67}{space 3} .5194033
{txt}{space 6}prot11 {c |}{col 14}{res}{space 2}-.0000108{col 26}{space 2} .0002358{col 37}{space 1}   -0.05{col 46}{space 3}0.963{col 54}{space 4} -.000473{col 67}{space 3} .0004514
{txt}{space 6}prot12 {c |}{col 14}{res}{space 2} .0138929{col 26}{space 2} .0611756{col 37}{space 1}    0.23{col 46}{space 3}0.820{col 54}{space 4} -.106009{col 67}{space 3} .1337949
{txt}{space 6}prot13 {c |}{col 14}{res}{space 2}-.0769125{col 26}{space 2} .6084343{col 37}{space 1}   -0.13{col 46}{space 3}0.899{col 54}{space 4}-1.269422{col 67}{space 3} 1.115597
{txt}{space 6}prot14 {c |}{col 14}{res}{space 2} .0822456{col 26}{space 2} .0923645{col 37}{space 1}    0.89{col 46}{space 3}0.373{col 54}{space 4}-.0987856{col 67}{space 3} .2632768
{txt}{space 6}prot15 {c |}{col 14}{res}{space 2} -2.46777{col 26}{space 2} 4.592521{col 37}{space 1}   -0.54{col 46}{space 3}0.591{col 54}{space 4}-11.46894{col 67}{space 3} 6.533405
{txt}{space 6}prot16 {c |}{col 14}{res}{space 2} .1447722{col 26}{space 2} .0701639{col 37}{space 1}    2.06{col 46}{space 3}0.039{col 54}{space 4} .0072535{col 67}{space 3} .2822909
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2}-.1437847{col 26}{space 2} .0884712{col 37}{space 1}   -1.63{col 46}{space 3}0.104{col 54}{space 4}-.3171851{col 67}{space 3} .0296157
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2}-.0003165{col 26}{space 2} .0002072{col 37}{space 1}   -1.53{col 46}{space 3}0.127{col 54}{space 4}-.0007225{col 67}{space 3} .0000895
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}-.0320313{col 26}{space 2} .0556701{col 37}{space 1}   -0.58{col 46}{space 3}0.565{col 54}{space 4}-.1411427{col 67}{space 3} .0770802
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-.0943504{col 26}{space 2} .5630338{col 37}{space 1}   -0.17{col 46}{space 3}0.867{col 54}{space 4}-1.197876{col 67}{space 3} 1.009176
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-.1164129{col 26}{space 2}   .06348{col 37}{space 1}   -1.83{col 46}{space 3}0.067{col 54}{space 4}-.2408314{col 67}{space 3} .0080056
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 2.558824{col 26}{space 2} 5.190521{col 37}{space 1}    0.49{col 46}{space 3}0.622{col 54}{space 4}-7.614411{col 67}{space 3} 12.73206
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}-.1220933{col 26}{space 2} .0645344{col 37}{space 1}   -1.89{col 46}{space 3}0.059{col 54}{space 4}-.2485784{col 67}{space 3} .0043919
{txt}{space 7}jewi8 {c |}{col 14}{res}{space 2}-.2045934{col 26}{space 2} .3176848{col 37}{space 1}   -0.64{col 46}{space 3}0.520{col 54}{space 4}-.8272442{col 67}{space 3} .4180575
{txt}{space 7}jewi9 {c |}{col 14}{res}{space 2} -.045848{col 26}{space 2} .0840397{col 37}{space 1}   -0.55{col 46}{space 3}0.585{col 54}{space 4}-.2105629{col 67}{space 3} .1188668
{txt}{space 6}jewi10 {c |}{col 14}{res}{space 2} .1949847{col 26}{space 2}  .132142{col 37}{space 1}    1.48{col 46}{space 3}0.140{col 54}{space 4}-.0640088{col 67}{space 3} .4539783
{txt}{space 6}jewi11 {c |}{col 14}{res}{space 2} .0005463{col 26}{space 2} .0003161{col 37}{space 1}    1.73{col 46}{space 3}0.084{col 54}{space 4}-.0000732{col 67}{space 3} .0011657
{txt}{space 6}jewi12 {c |}{col 14}{res}{space 2} .0436609{col 26}{space 2} .0776884{col 37}{space 1}    0.56{col 46}{space 3}0.574{col 54}{space 4}-.1086055{col 67}{space 3} .1959273
{txt}{space 6}jewi13 {c |}{col 14}{res}{space 2}-.1011167{col 26}{space 2} .7493333{col 37}{space 1}   -0.13{col 46}{space 3}0.893{col 54}{space 4}-1.569783{col 67}{space 3}  1.36755
{txt}{space 6}jewi14 {c |}{col 14}{res}{space 2} .1352205{col 26}{space 2} .0882263{col 37}{space 1}    1.53{col 46}{space 3}0.125{col 54}{space 4}-.0376999{col 67}{space 3}  .308141
{txt}{space 6}jewi15 {c |}{col 14}{res}{space 2} 3.157523{col 26}{space 2} 6.999474{col 37}{space 1}    0.45{col 46}{space 3}0.652{col 54}{space 4}-10.56119{col 67}{space 3} 16.87624
{txt}{space 6}jewi16 {c |}{col 14}{res}{space 2} .1973266{col 26}{space 2} .0936846{col 37}{space 1}    2.11{col 46}{space 3}0.035{col 54}{space 4} .0137082{col 67}{space 3}  .380945
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2}-.2154406{col 26}{space 2} .0643573{col 37}{space 1}   -3.35{col 46}{space 3}0.001{col 54}{space 4}-.3415786{col 67}{space 3}-.0893026
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2} .0001494{col 26}{space 2} .0001826{col 37}{space 1}    0.82{col 46}{space 3}0.413{col 54}{space 4}-.0002084{col 67}{space 3} .0005071
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2}-.0069201{col 26}{space 2} .0429881{col 37}{space 1}   -0.16{col 46}{space 3}0.872{col 54}{space 4}-.0911753{col 67}{space 3}  .077335
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2}-.8698239{col 26}{space 2} .5482348{col 37}{space 1}   -1.59{col 46}{space 3}0.113{col 54}{space 4}-1.944344{col 67}{space 3} .2046965
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2}-.0489822{col 26}{space 2}   .05957{col 37}{space 1}   -0.82{col 46}{space 3}0.411{col 54}{space 4}-.1657373{col 67}{space 3}  .067773
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2} .9350205{col 26}{space 2} 3.348439{col 37}{space 1}    0.28{col 46}{space 3}0.780{col 54}{space 4}  -5.6278{col 67}{space 3} 7.497841
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2}-.2091407{col 26}{space 2} .0497843{col 37}{space 1}   -4.20{col 46}{space 3}0.000{col 54}{space 4} -.306716{col 67}{space 3}-.1115653
{txt}{space 7}atag8 {c |}{col 14}{res}{space 2}-.1308381{col 26}{space 2} .2446022{col 37}{space 1}   -0.53{col 46}{space 3}0.593{col 54}{space 4}-.6102497{col 67}{space 3} .3485735
{txt}{space 7}atag9 {c |}{col 14}{res}{space 2}-.0418752{col 26}{space 2} .0662301{col 37}{space 1}   -0.63{col 46}{space 3}0.527{col 54}{space 4}-.1716839{col 67}{space 3} .0879335
{txt}{space 6}atag10 {c |}{col 14}{res}{space 2} .3020727{col 26}{space 2} .0924729{col 37}{space 1}    3.27{col 46}{space 3}0.001{col 54}{space 4} .1208292{col 67}{space 3} .4833162
{txt}{space 6}atag11 {c |}{col 14}{res}{space 2}-.0002567{col 26}{space 2} .0002337{col 37}{space 1}   -1.10{col 46}{space 3}0.272{col 54}{space 4}-.0007149{col 67}{space 3} .0002014
{txt}{space 6}atag12 {c |}{col 14}{res}{space 2}-.0172814{col 26}{space 2} .0538768{col 37}{space 1}   -0.32{col 46}{space 3}0.748{col 54}{space 4} -.122878{col 67}{space 3} .0883152
{txt}{space 6}atag13 {c |}{col 14}{res}{space 2}-.3431246{col 26}{space 2} .7050266{col 37}{space 1}   -0.49{col 46}{space 3}0.626{col 54}{space 4}-1.724951{col 67}{space 3} 1.038702
{txt}{space 6}atag14 {c |}{col 14}{res}{space 2}-.0022017{col 26}{space 2} .0855811{col 37}{space 1}   -0.03{col 46}{space 3}0.979{col 54}{space 4}-.1699377{col 67}{space 3} .1655342
{txt}{space 6}atag15 {c |}{col 14}{res}{space 2} .3588256{col 26}{space 2} 4.701002{col 37}{space 1}    0.08{col 46}{space 3}0.939{col 54}{space 4}-8.854969{col 67}{space 3}  9.57262
{txt}{space 6}atag16 {c |}{col 14}{res}{space 2} .2058863{col 26}{space 2} .0703968{col 37}{space 1}    2.92{col 46}{space 3}0.003{col 54}{space 4} .0679112{col 67}{space 3} .3438615
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}lnsigma      {txt}{c |}
{space 10}u1 {c |}{col 14}{res}{space 2} .2635633{col 26}{space 2}  .040978{col 37}{space 1}    6.43{col 46}{space 3}0.000{col 54}{space 4} .1832479{col 67}{space 3} .3438787
{txt}{space 10}u2 {c |}{col 14}{res}{space 2} -5.93908{col 26}{space 2} .0744212{col 37}{space 1}  -79.80{col 46}{space 3}0.000{col 54}{space 4}-6.084943{col 67}{space 3}-5.793217
{txt}{space 10}u3 {c |}{col 14}{res}{space 2}-.2024603{col 26}{space 2} .0972943{col 37}{space 1}   -2.08{col 46}{space 3}0.037{col 54}{space 4}-.3931537{col 67}{space 3}-.0117669
{txt}{space 10}u4 {c |}{col 14}{res}{space 2} 1.962566{col 26}{space 2} .1100363{col 37}{space 1}   17.84{col 46}{space 3}0.000{col 54}{space 4} 1.746899{col 67}{space 3} 2.178234
{txt}{space 10}u5 {c |}{col 14}{res}{space 2} .1558131{col 26}{space 2}  .089755{col 37}{space 1}    1.74{col 46}{space 3}0.083{col 54}{space 4}-.0201034{col 67}{space 3} .3317297
{txt}{space 10}u6 {c |}{col 14}{res}{space 2} 3.915154{col 26}{space 2} .1782622{col 37}{space 1}   21.96{col 46}{space 3}0.000{col 54}{space 4} 3.565767{col 67}{space 3} 4.264542
{txt}{space 10}u7 {c |}{col 14}{res}  (omitted)
{txt}{space 7}prot1 {c |}{col 14}{res}{space 2}-.0000207{col 26}{space 2} .0456388{col 37}{space 1}   -0.00{col 46}{space 3}1.000{col 54}{space 4}-.0894711{col 67}{space 3} .0894297
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2}-.0170185{col 26}{space 2}  .075989{col 37}{space 1}   -0.22{col 46}{space 3}0.823{col 54}{space 4}-.1659541{col 67}{space 3} .1319171
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2} .1314927{col 26}{space 2} .1041143{col 37}{space 1}    1.26{col 46}{space 3}0.207{col 54}{space 4}-.0725675{col 67}{space 3} .3355529
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2}-.1226154{col 26}{space 2} .1285054{col 37}{space 1}   -0.95{col 46}{space 3}0.340{col 54}{space 4}-.3744814{col 67}{space 3} .1292506
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .0834531{col 26}{space 2} .1082033{col 37}{space 1}    0.77{col 46}{space 3}0.441{col 54}{space 4}-.1286214{col 67}{space 3} .2955276
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2}-.3767129{col 26}{space 2} .1849382{col 37}{space 1}   -2.04{col 46}{space 3}0.042{col 54}{space 4} -.739185{col 67}{space 3}-.0142407
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2}-.0062277{col 26}{space 2} .0598749{col 37}{space 1}   -0.10{col 46}{space 3}0.917{col 54}{space 4}-.1235804{col 67}{space 3}  .111125
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .0500149{col 26}{space 2} .0539671{col 37}{space 1}    0.93{col 46}{space 3}0.354{col 54}{space 4}-.0557586{col 67}{space 3} .1557885
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2} .0150694{col 26}{space 2} .1020556{col 37}{space 1}    0.15{col 46}{space 3}0.883{col 54}{space 4}-.1849559{col 67}{space 3} .2150948
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2} .0038345{col 26}{space 2} .1582853{col 37}{space 1}    0.02{col 46}{space 3}0.981{col 54}{space 4}-.3063991{col 67}{space 3}  .314068
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-.1642948{col 26}{space 2} .1453445{col 37}{space 1}   -1.13{col 46}{space 3}0.258{col 54}{space 4}-.4491647{col 67}{space 3} .1205752
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2} -.310509{col 26}{space 2} .1271072{col 37}{space 1}   -2.44{col 46}{space 3}0.015{col 54}{space 4}-.5596346{col 67}{space 3}-.0613835
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} .0833453{col 26}{space 2} .2172313{col 37}{space 1}    0.38{col 46}{space 3}0.701{col 54}{space 4}-.3424202{col 67}{space 3} .5091108
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}-.0595602{col 26}{space 2} .0857443{col 37}{space 1}   -0.69{col 46}{space 3}0.487{col 54}{space 4}-.2276159{col 67}{space 3} .1084955
{txt}{space 7}atag1 {c |}{col 14}{res}{space 2} .0177368{col 26}{space 2} .0436669{col 37}{space 1}    0.41{col 46}{space 3}0.685{col 54}{space 4}-.0678486{col 67}{space 3} .1033223
{txt}{space 7}atag2 {c |}{col 14}{res}{space 2} .0227005{col 26}{space 2} .0738652{col 37}{space 1}    0.31{col 46}{space 3}0.759{col 54}{space 4}-.1220727{col 67}{space 3} .1674737
{txt}{space 7}atag3 {c |}{col 14}{res}{space 2}-.1715362{col 26}{space 2} .1032485{col 37}{space 1}   -1.66{col 46}{space 3}0.097{col 54}{space 4}-.3738996{col 67}{space 3} .0308271
{txt}{space 7}atag4 {c |}{col 14}{res}{space 2} .0762797{col 26}{space 2} .1243182{col 37}{space 1}    0.61{col 46}{space 3}0.539{col 54}{space 4}-.1673796{col 67}{space 3} .3199389
{txt}{space 7}atag5 {c |}{col 14}{res}{space 2}-.1215232{col 26}{space 2} .1029481{col 37}{space 1}   -1.18{col 46}{space 3}0.238{col 54}{space 4}-.3232978{col 67}{space 3} .0802514
{txt}{space 7}atag6 {c |}{col 14}{res}{space 2}-.1936558{col 26}{space 2} .2011125{col 37}{space 1}   -0.96{col 46}{space 3}0.336{col 54}{space 4} -.587829{col 67}{space 3} .2005175
{txt}{space 7}atag7 {c |}{col 14}{res}{space 2}-.0094374{col 26}{space 2} .0592168{col 37}{space 1}   -0.16{col 46}{space 3}0.873{col 54}{space 4}-.1255001{col 67}{space 3} .1066253
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.181331{col 26}{space 2}  .043395{col 37}{space 1}  -27.22{col 46}{space 3}0.000{col 54}{space 4}-1.266383{col 67}{space 3}-1.096278
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

  Observation summary:{col 24}{res}      282{col 34}{txt} left-censored observations
{col 24}{res}     2226{col 34}{txt}    uncensored observations
{col 24}{res}      132{col 34}{txt}right-censored observations
{col 24}{res}      910{col 34}{txt}      interval observations

{com}. 
. *are differences between jewish and cath treatment effects jointly significant
. test (jewi10 = 0) (jewi11 = 0) (jewi12 = 0) (jewi13 = 0) (jewi14 = 0) (jewi15 = 0) (jewi16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]jewi10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]jewi11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]jewi12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]jewi13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]jewi14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]jewi15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]jewi16 = 0{p_end}

{txt}{col 12}chi2(  7) ={res}    9.25
{txt}{col 10}Prob > chi2 =  {res}  0.2354
{txt}
{com}. 
. *Atheists/Agnostics are now the reference
. intreg d p u1 u2 u3 u4 u5 u6 u7 onevstwo largestakes treatRpg treatRge treatRdg treatRtp treatRrp treatRan treatRtr prot1 prot2 prot3 prot4 prot5 prot6 prot7 prot8 prot9 prot10 prot11 prot12 prot13 prot14 prot15 prot16 cath1 cath2 cath3 cath4 cath5 cath6 cath7 cath8 cath9 cath10 cath11 cath12 cath13 cath14 cath15 cath16 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7 jewi8 jewi9 jewi10 jewi11 jewi12 jewi13 jewi14 jewi15 jewi16, noconstant het(u1 u2 u3 u4 u5 u6 u7 prot1 prot2 prot3 prot4 prot5 prot6 prot7 prot8 prot9 prot10 prot11 prot12 prot13 prot14 prot15 prot16 cath1 cath2 cath3 cath4 cath5 cath6 cath7 jewi1 jewi2 jewi3 jewi4 jewi5 jewi6 jewi7) cluster(id)
{txt}note: u7 omitted because of collinearity

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-18486.787}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-17012.017}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-15752.136}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-11269.322}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-7331.5285}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-6974.0211}  
Iteration 6:{space 3}log pseudolikelihood = {res:-6590.2682}  (backed up)
Iteration 7:{space 3}log pseudolikelihood = {res:-5771.8965}  
Iteration 8:{space 3}log pseudolikelihood = {res: -3160.515}  (not concave)
Iteration 9:{space 3}log pseudolikelihood = {res:-2330.8594}  
Iteration 10:{space 2}log pseudolikelihood = {res:-2233.8428}  
Iteration 11:{space 2}log pseudolikelihood = {res:-2214.1305}  
Iteration 12:{space 2}log pseudolikelihood = {res:-2213.6197}  
Iteration 13:{space 2}log pseudolikelihood = {res:-2213.6195}  
Iteration 14:{space 2}log pseudolikelihood = {res:-2213.6195}  
{res}
{txt}Interval regression{col 51}Number of obs{col 67}= {res}      3550
{txt}{col 51}Wald chi2({res}64{txt}){col 67}= {res}   5498.62
{txt}Log pseudolikelihood = {res}-2213.6195{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:817} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}model        {txt}{c |}
{space 10}u1 {c |}{col 14}{res}{space 2} .4867816{col 26}{space 2} .0428912{col 37}{space 1}   11.35{col 46}{space 3}0.000{col 54}{space 4} .4027164{col 67}{space 3} .5708468
{txt}{space 10}u2 {c |}{col 14}{res}{space 2} .0009375{col 26}{space 2} .0001199{col 37}{space 1}    7.82{col 46}{space 3}0.000{col 54}{space 4} .0007026{col 67}{space 3} .0011725
{txt}{space 10}u3 {c |}{col 14}{res}{space 2} .1651111{col 26}{space 2} .0242413{col 37}{space 1}    6.81{col 46}{space 3}0.000{col 54}{space 4} .1175991{col 67}{space 3} .2126231
{txt}{space 10}u4 {c |}{col 14}{res}{space 2}-4.396184{col 26}{space 2} .4139794{col 37}{space 1}  -10.62{col 46}{space 3}0.000{col 54}{space 4}-5.207569{col 67}{space 3}  -3.5848
{txt}{space 10}u5 {c |}{col 14}{res}{space 2} .1600286{col 26}{space 2} .0342693{col 37}{space 1}    4.67{col 46}{space 3}0.000{col 54}{space 4} .0928621{col 67}{space 3} .2271951
{txt}{space 10}u6 {c |}{col 14}{res}{space 2} 32.02326{col 26}{space 2} 1.763462{col 37}{space 1}   18.16{col 46}{space 3}0.000{col 54}{space 4} 28.56693{col 67}{space 3} 35.47958
{txt}{space 10}u7 {c |}{col 14}{res}{space 2} .5248276{col 26}{space 2} .0319085{col 37}{space 1}   16.45{col 46}{space 3}0.000{col 54}{space 4}  .462288{col 67}{space 3} .5873671
{txt}{space 4}onevstwo {c |}{col 14}{res}{space 2} -.296386{col 26}{space 2} .1721581{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.6338096{col 67}{space 3} .0410376
{txt}{space 1}largestakes {c |}{col 14}{res}{space 2} .2640933{col 26}{space 2} .0417038{col 37}{space 1}    6.33{col 46}{space 3}0.000{col 54}{space 4} .1823553{col 67}{space 3} .3458313
{txt}{space 4}treatRpg {c |}{col 14}{res}{space 2} .1186505{col 26}{space 2} .0628881{col 37}{space 1}    1.89{col 46}{space 3}0.059{col 54}{space 4}-.0046079{col 67}{space 3} .2419089
{txt}{space 4}treatRge {c |}{col 14}{res}{space 2}-.0002045{col 26}{space 2} .0001554{col 37}{space 1}   -1.32{col 46}{space 3}0.188{col 54}{space 4}-.0005091{col 67}{space 3} .0001001
{txt}{space 4}treatRdg {c |}{col 14}{res}{space 2} -.054646{col 26}{space 2} .0317179{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-.1168119{col 67}{space 3} .0075199
{txt}{space 4}treatRtp {c |}{col 14}{res}{space 2} .0838184{col 26}{space 2} .5032772{col 37}{space 1}    0.17{col 46}{space 3}0.868{col 54}{space 4}-.9025868{col 67}{space 3} 1.070224
{txt}{space 4}treatRrp {c |}{col 14}{res}{space 2} -.115996{col 26}{space 2} .0521825{col 37}{space 1}   -2.22{col 46}{space 3}0.026{col 54}{space 4}-.2182718{col 67}{space 3}-.0137203
{txt}{space 4}treatRan {c |}{col 14}{res}{space 2} 2.116744{col 26}{space 2} 2.607666{col 37}{space 1}    0.81{col 46}{space 3}0.417{col 54}{space 4}-2.994187{col 67}{space 3} 7.227676
{txt}{space 4}treatRtr {c |}{col 14}{res}{space 2} .0875181{col 26}{space 2} .0470391{col 37}{space 1}    1.86{col 46}{space 3}0.063{col 54}{space 4}-.0046768{col 67}{space 3}  .179713
{txt}{space 7}prot1 {c |}{col 14}{res}{space 2} .0410755{col 26}{space 2} .0634146{col 37}{space 1}    0.65{col 46}{space 3}0.517{col 54}{space 4}-.0832147{col 67}{space 3} .1653658
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2}-.0000777{col 26}{space 2} .0001672{col 37}{space 1}   -0.46{col 46}{space 3}0.642{col 54}{space 4}-.0004054{col 67}{space 3} .0002501
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2} .0493833{col 26}{space 2} .0405145{col 37}{space 1}    1.22{col 46}{space 3}0.223{col 54}{space 4}-.0300236{col 67}{space 3} .1287902
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2} 1.384671{col 26}{space 2} .4890166{col 37}{space 1}    2.83{col 46}{space 3}0.005{col 54}{space 4}  .426216{col 67}{space 3} 2.343126
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .0771539{col 26}{space 2} .0609843{col 37}{space 1}    1.27{col 46}{space 3}0.206{col 54}{space 4} -.042373{col 67}{space 3} .1966809
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2}-2.997615{col 26}{space 2}  2.48078{col 37}{space 1}   -1.21{col 46}{space 3}0.227{col 54}{space 4}-7.859854{col 67}{space 3} 1.864625
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2} .0727915{col 26}{space 2} .0462884{col 37}{space 1}    1.57{col 46}{space 3}0.116{col 54}{space 4}-.0179322{col 67}{space 3} .1635151
{txt}{space 7}prot8 {c |}{col 14}{res}{space 2} .2709773{col 26}{space 2} .2097231{col 37}{space 1}    1.29{col 46}{space 3}0.196{col 54}{space 4}-.1400724{col 67}{space 3}  .682027
{txt}{space 7}prot9 {c |}{col 14}{res}{space 2} .0135002{col 26}{space 2} .0654281{col 37}{space 1}    0.21{col 46}{space 3}0.837{col 54}{space 4}-.1147366{col 67}{space 3}  .141737
{txt}{space 6}prot10 {c |}{col 14}{res}{space 2}  .038205{col 26}{space 2} .0878131{col 37}{space 1}    0.44{col 46}{space 3}0.664{col 54}{space 4}-.1339054{col 67}{space 3} .2103154
{txt}{space 6}prot11 {c |}{col 14}{res}{space 2} .0002459{col 26}{space 2}  .000222{col 37}{space 1}    1.11{col 46}{space 3}0.268{col 54}{space 4}-.0001892{col 67}{space 3} .0006811
{txt}{space 6}prot12 {c |}{col 14}{res}{space 2} .0311743{col 26}{space 2} .0534021{col 37}{space 1}    0.58{col 46}{space 3}0.559{col 54}{space 4}-.0734919{col 67}{space 3} .1358406
{txt}{space 6}prot13 {c |}{col 14}{res}{space 2} .2655172{col 26}{space 2} .6264437{col 37}{space 1}    0.42{col 46}{space 3}0.672{col 54}{space 4}-.9622899{col 67}{space 3} 1.493324
{txt}{space 6}prot14 {c |}{col 14}{res}{space 2} .0908604{col 26}{space 2} .0813448{col 37}{space 1}    1.12{col 46}{space 3}0.264{col 54}{space 4}-.0685725{col 67}{space 3} .2502933
{txt}{space 6}prot15 {c |}{col 14}{res}{space 2}-2.826596{col 26}{space 2} 3.548474{col 37}{space 1}   -0.80{col 46}{space 3}0.426{col 54}{space 4}-9.781478{col 67}{space 3} 4.128286
{txt}{space 6}prot16 {c |}{col 14}{res}{space 2}-.0611142{col 26}{space 2} .0662768{col 37}{space 1}   -0.92{col 46}{space 3}0.356{col 54}{space 4}-.1910143{col 67}{space 3}  .068786
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2} .2154406{col 26}{space 2} .0643573{col 37}{space 1}    3.35{col 46}{space 3}0.001{col 54}{space 4} .0893026{col 67}{space 3} .3415786
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2}-.0001494{col 26}{space 2} .0001826{col 37}{space 1}   -0.82{col 46}{space 3}0.413{col 54}{space 4}-.0005071{col 67}{space 3} .0002084
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2} .0069201{col 26}{space 2} .0429881{col 37}{space 1}    0.16{col 46}{space 3}0.872{col 54}{space 4} -.077335{col 67}{space 3} .0911753
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2} .8698239{col 26}{space 2} .5482348{col 37}{space 1}    1.59{col 46}{space 3}0.113{col 54}{space 4}-.2046965{col 67}{space 3} 1.944344
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2} .0489822{col 26}{space 2}   .05957{col 37}{space 1}    0.82{col 46}{space 3}0.411{col 54}{space 4} -.067773{col 67}{space 3} .1657373
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2}-.9350205{col 26}{space 2} 3.348439{col 37}{space 1}   -0.28{col 46}{space 3}0.780{col 54}{space 4}-7.497841{col 67}{space 3}   5.6278
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .2091407{col 26}{space 2} .0497843{col 37}{space 1}    4.20{col 46}{space 3}0.000{col 54}{space 4} .1115653{col 67}{space 3}  .306716
{txt}{space 7}cath8 {c |}{col 14}{res}{space 2} .1308381{col 26}{space 2} .2446022{col 37}{space 1}    0.53{col 46}{space 3}0.593{col 54}{space 4}-.3485735{col 67}{space 3} .6102497
{txt}{space 7}cath9 {c |}{col 14}{res}{space 2} .0418752{col 26}{space 2} .0662301{col 37}{space 1}    0.63{col 46}{space 3}0.527{col 54}{space 4}-.0879335{col 67}{space 3} .1716839
{txt}{space 6}cath10 {c |}{col 14}{res}{space 2}-.3020727{col 26}{space 2} .0924729{col 37}{space 1}   -3.27{col 46}{space 3}0.001{col 54}{space 4}-.4833162{col 67}{space 3}-.1208292
{txt}{space 6}cath11 {c |}{col 14}{res}{space 2} .0002567{col 26}{space 2} .0002337{col 37}{space 1}    1.10{col 46}{space 3}0.272{col 54}{space 4}-.0002014{col 67}{space 3} .0007149
{txt}{space 6}cath12 {c |}{col 14}{res}{space 2} .0172814{col 26}{space 2} .0538768{col 37}{space 1}    0.32{col 46}{space 3}0.748{col 54}{space 4}-.0883152{col 67}{space 3}  .122878
{txt}{space 6}cath13 {c |}{col 14}{res}{space 2} .3431246{col 26}{space 2} .7050266{col 37}{space 1}    0.49{col 46}{space 3}0.626{col 54}{space 4}-1.038702{col 67}{space 3} 1.724951
{txt}{space 6}cath14 {c |}{col 14}{res}{space 2} .0022017{col 26}{space 2} .0855811{col 37}{space 1}    0.03{col 46}{space 3}0.979{col 54}{space 4}-.1655342{col 67}{space 3} .1699377
{txt}{space 6}cath15 {c |}{col 14}{res}{space 2}-.3588256{col 26}{space 2} 4.701002{col 37}{space 1}   -0.08{col 46}{space 3}0.939{col 54}{space 4} -9.57262{col 67}{space 3} 8.854969
{txt}{space 6}cath16 {c |}{col 14}{res}{space 2}-.2058863{col 26}{space 2} .0703968{col 37}{space 1}   -2.92{col 46}{space 3}0.003{col 54}{space 4}-.3438615{col 67}{space 3}-.0679112
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .0716559{col 26}{space 2} .0858173{col 37}{space 1}    0.83{col 46}{space 3}0.404{col 54}{space 4}-.0965428{col 67}{space 3} .2398546
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2}-.0004659{col 26}{space 2} .0001958{col 37}{space 1}   -2.38{col 46}{space 3}0.017{col 54}{space 4}-.0008496{col 67}{space 3}-.0000821
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2}-.0251111{col 26}{space 2} .0492591{col 37}{space 1}   -0.51{col 46}{space 3}0.610{col 54}{space 4}-.1216572{col 67}{space 3}  .071435
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2} .7754735{col 26}{space 2}  .599336{col 37}{space 1}    1.29{col 46}{space 3}0.196{col 54}{space 4}-.3992035{col 67}{space 3}  1.95015
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-.0674308{col 26}{space 2} .0531966{col 37}{space 1}   -1.27{col 46}{space 3}0.205{col 54}{space 4}-.1716943{col 67}{space 3} .0368327
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} 1.623803{col 26}{space 2} 4.684982{col 37}{space 1}    0.35{col 46}{space 3}0.729{col 54}{space 4}-7.558593{col 67}{space 3}  10.8062
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2} .0870474{col 26}{space 2} .0610125{col 37}{space 1}    1.43{col 46}{space 3}0.154{col 54}{space 4}-.0325349{col 67}{space 3} .2066297
{txt}{space 7}jewi8 {c |}{col 14}{res}{space 2}-.0737553{col 26}{space 2} .3168126{col 37}{space 1}   -0.23{col 46}{space 3}0.816{col 54}{space 4}-.6946965{col 67}{space 3} .5471859
{txt}{space 7}jewi9 {c |}{col 14}{res}{space 2}-.0039728{col 26}{space 2} .0784517{col 37}{space 1}   -0.05{col 46}{space 3}0.960{col 54}{space 4}-.1577353{col 67}{space 3} .1497896
{txt}{space 6}jewi10 {c |}{col 14}{res}{space 2} -.107088{col 26}{space 2} .1296923{col 37}{space 1}   -0.83{col 46}{space 3}0.409{col 54}{space 4}-.3612802{col 67}{space 3} .1471042
{txt}{space 6}jewi11 {c |}{col 14}{res}{space 2}  .000803{col 26}{space 2} .0003059{col 37}{space 1}    2.63{col 46}{space 3}0.009{col 54}{space 4} .0002035{col 67}{space 3} .0014026
{txt}{space 6}jewi12 {c |}{col 14}{res}{space 2} .0609423{col 26}{space 2} .0717274{col 37}{space 1}    0.85{col 46}{space 3}0.396{col 54}{space 4}-.0796408{col 67}{space 3} .2015254
{txt}{space 6}jewi13 {c |}{col 14}{res}{space 2} .2420079{col 26}{space 2} .7556545{col 37}{space 1}    0.32{col 46}{space 3}0.749{col 54}{space 4}-1.239048{col 67}{space 3} 1.723064
{txt}{space 6}jewi14 {c |}{col 14}{res}{space 2} .1374223{col 26}{space 2}  .076849{col 37}{space 1}    1.79{col 46}{space 3}0.074{col 54}{space 4}-.0131991{col 67}{space 3} .2880436
{txt}{space 6}jewi15 {c |}{col 14}{res}{space 2} 2.798697{col 26}{space 2} 6.363416{col 37}{space 1}    0.44{col 46}{space 3}0.660{col 54}{space 4}-9.673368{col 67}{space 3} 15.27076
{txt}{space 6}jewi16 {c |}{col 14}{res}{space 2}-.0085598{col 26}{space 2} .0908099{col 37}{space 1}   -0.09{col 46}{space 3}0.925{col 54}{space 4}-.1865439{col 67}{space 3} .1694244
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}lnsigma      {txt}{c |}
{space 10}u1 {c |}{col 14}{res}{space 2} .2907375{col 26}{space 2}  .035603{col 37}{space 1}    8.17{col 46}{space 3}0.000{col 54}{space 4} .2209569{col 67}{space 3} .3605181
{txt}{space 10}u2 {c |}{col 14}{res}{space 2}-5.906942{col 26}{space 2} .0630046{col 37}{space 1}  -93.75{col 46}{space 3}0.000{col 54}{space 4}-6.030429{col 67}{space 3}-5.783455
{txt}{space 10}u3 {c |}{col 14}{res}{space 2}-.3645592{col 26}{space 2} .0773931{col 37}{space 1}   -4.71{col 46}{space 3}0.000{col 54}{space 4}-.5162469{col 67}{space 3}-.2128714
{txt}{space 10}u4 {c |}{col 14}{res}{space 2} 2.048283{col 26}{space 2} .0855026{col 37}{space 1}   23.96{col 46}{space 3}0.000{col 54}{space 4} 1.880701{col 67}{space 3} 2.215866
{txt}{space 10}u5 {c |}{col 14}{res}{space 2} .0437273{col 26}{space 2}  .081319{col 37}{space 1}    0.54{col 46}{space 3}0.591{col 54}{space 4} -.115655{col 67}{space 3} .2031096
{txt}{space 10}u6 {c |}{col 14}{res}{space 2} 3.730936{col 26}{space 2} .1103425{col 37}{space 1}   33.81{col 46}{space 3}0.000{col 54}{space 4} 3.514668{col 67}{space 3} 3.947203
{txt}{space 10}u7 {c |}{col 14}{res}  (omitted)
{txt}{space 7}prot1 {c |}{col 14}{res}{space 2} .0510137{col 26}{space 2} .0401167{col 37}{space 1}    1.27{col 46}{space 3}0.204{col 54}{space 4}-.0276137{col 67}{space 3}  .129641
{txt}{space 7}prot2 {c |}{col 14}{res}{space 2} .0254544{col 26}{space 2} .0845086{col 37}{space 1}    0.30{col 46}{space 3}0.763{col 54}{space 4}-.1401793{col 67}{space 3} .1910882
{txt}{space 7}prot3 {c |}{col 14}{res}{space 2}  .371349{col 26}{space 2}  .108309{col 37}{space 1}    3.43{col 46}{space 3}0.001{col 54}{space 4} .1590672{col 67}{space 3} .5836308
{txt}{space 7}prot4 {c |}{col 14}{res}{space 2} -.280245{col 26}{space 2} .1387505{col 37}{space 1}   -2.02{col 46}{space 3}0.043{col 54}{space 4}-.5521911{col 67}{space 3}-.0082989
{txt}{space 7}prot5 {c |}{col 14}{res}{space 2} .1547404{col 26}{space 2} .1399473{col 37}{space 1}    1.11{col 46}{space 3}0.269{col 54}{space 4}-.1195513{col 67}{space 3}  .429032
{txt}{space 7}prot6 {c |}{col 14}{res}{space 2}-.1523353{col 26}{space 2}  .126702{col 37}{space 1}   -1.20{col 46}{space 3}0.229{col 54}{space 4}-.4006667{col 67}{space 3} .0959962
{txt}{space 7}prot7 {c |}{col 14}{res}{space 2} .0103409{col 26}{space 2} .0695778{col 37}{space 1}    0.15{col 46}{space 3}0.882{col 54}{space 4}-.1260292{col 67}{space 3}  .146711
{txt}{space 7}prot8 {c |}{col 14}{res}{space 2}  .136441{col 26}{space 2} .0717789{col 37}{space 1}    1.90{col 46}{space 3}0.057{col 54}{space 4} -.004243{col 67}{space 3}  .277125
{txt}{space 7}prot9 {c |}{col 14}{res}{space 2}  .342303{col 26}{space 2} .0951091{col 37}{space 1}    3.60{col 46}{space 3}0.000{col 54}{space 4} .1558926{col 67}{space 3} .5287135
{txt}{space 6}prot10 {c |}{col 14}{res}{space 2}  -.14556{col 26}{space 2} .0623444{col 37}{space 1}   -2.33{col 46}{space 3}0.020{col 54}{space 4}-.2677527{col 67}{space 3}-.0233672
{txt}{space 6}prot11 {c |}{col 14}{res}{space 2}-.1525939{col 26}{space 2} .0999152{col 37}{space 1}   -1.53{col 46}{space 3}0.127{col 54}{space 4}-.3484242{col 67}{space 3} .0432363
{txt}{space 6}prot12 {c |}{col 14}{res}{space 2}-.1484511{col 26}{space 2}  .125501{col 37}{space 1}   -1.18{col 46}{space 3}0.237{col 54}{space 4}-.3944285{col 67}{space 3} .0975264
{txt}{space 6}prot13 {c |}{col 14}{res}{space 2} .0287396{col 26}{space 2} .1670843{col 37}{space 1}    0.17{col 46}{space 3}0.863{col 54}{space 4}-.2987397{col 67}{space 3} .3562188
{txt}{space 6}prot14 {c |}{col 14}{res}{space 2}-.2266831{col 26}{space 2}  .154065{col 37}{space 1}   -1.47{col 46}{space 3}0.141{col 54}{space 4}-.5286449{col 67}{space 3} .0752788
{txt}{space 6}prot15 {c |}{col 14}{res}{space 2}-.0643466{col 26}{space 2} .1348218{col 37}{space 1}   -0.48{col 46}{space 3}0.633{col 54}{space 4}-.3285924{col 67}{space 3} .1998992
{txt}{space 6}prot16 {c |}{col 14}{res}{space 2}-.0141145{col 26}{space 2} .0824848{col 37}{space 1}   -0.17{col 46}{space 3}0.864{col 54}{space 4}-.1757817{col 67}{space 3} .1475527
{txt}{space 7}cath1 {c |}{col 14}{res}{space 2}-.0177368{col 26}{space 2} .0436669{col 37}{space 1}   -0.41{col 46}{space 3}0.685{col 54}{space 4}-.1033223{col 67}{space 3} .0678486
{txt}{space 7}cath2 {c |}{col 14}{res}{space 2}-.0227005{col 26}{space 2} .0738652{col 37}{space 1}   -0.31{col 46}{space 3}0.759{col 54}{space 4}-.1674737{col 67}{space 3} .1220727
{txt}{space 7}cath3 {c |}{col 14}{res}{space 2} .1715362{col 26}{space 2} .1032485{col 37}{space 1}    1.66{col 46}{space 3}0.097{col 54}{space 4}-.0308271{col 67}{space 3} .3738996
{txt}{space 7}cath4 {c |}{col 14}{res}{space 2}-.0762797{col 26}{space 2} .1243182{col 37}{space 1}   -0.61{col 46}{space 3}0.539{col 54}{space 4}-.3199389{col 67}{space 3} .1673796
{txt}{space 7}cath5 {c |}{col 14}{res}{space 2} .1215232{col 26}{space 2} .1029481{col 37}{space 1}    1.18{col 46}{space 3}0.238{col 54}{space 4}-.0802514{col 67}{space 3} .3232978
{txt}{space 7}cath6 {c |}{col 14}{res}{space 2} .1936558{col 26}{space 2} .2011125{col 37}{space 1}    0.96{col 46}{space 3}0.336{col 54}{space 4}-.2005175{col 67}{space 3}  .587829
{txt}{space 7}cath7 {c |}{col 14}{res}{space 2} .0094374{col 26}{space 2} .0592168{col 37}{space 1}    0.16{col 46}{space 3}0.873{col 54}{space 4}-.1066253{col 67}{space 3} .1255001
{txt}{space 7}jewi1 {c |}{col 14}{res}{space 2} .0322781{col 26}{space 2} .0492356{col 37}{space 1}    0.66{col 46}{space 3}0.512{col 54}{space 4}-.0642219{col 67}{space 3} .1287781
{txt}{space 7}jewi2 {c |}{col 14}{res}{space 2} -.007631{col 26}{space 2} .0979525{col 37}{space 1}   -0.08{col 46}{space 3}0.938{col 54}{space 4}-.1996144{col 67}{space 3} .1843523
{txt}{space 7}jewi3 {c |}{col 14}{res}{space 2} .1753707{col 26}{space 2} .1488251{col 37}{space 1}    1.18{col 46}{space 3}0.239{col 54}{space 4}-.1163212{col 67}{space 3} .4670626
{txt}{space 7}jewi4 {c |}{col 14}{res}{space 2}-.2405744{col 26}{space 2} .1329833{col 37}{space 1}   -1.81{col 46}{space 3}0.070{col 54}{space 4} -.501217{col 67}{space 3} .0200682
{txt}{space 7}jewi5 {c |}{col 14}{res}{space 2}-.1889858{col 26}{space 2} .1207595{col 37}{space 1}   -1.56{col 46}{space 3}0.118{col 54}{space 4}  -.42567{col 67}{space 3} .0476985
{txt}{space 7}jewi6 {c |}{col 14}{res}{space 2} .2770011{col 26}{space 2} .1668746{col 37}{space 1}    1.66{col 46}{space 3}0.097{col 54}{space 4}-.0500671{col 67}{space 3} .6040692
{txt}{space 7}jewi7 {c |}{col 14}{res}{space 2}-.0501228{col 26}{space 2} .0842167{col 37}{space 1}   -0.60{col 46}{space 3}0.552{col 54}{space 4}-.2151845{col 67}{space 3} .1149389
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.190768{col 26}{space 2} .0402926{col 37}{space 1}  -29.55{col 46}{space 3}0.000{col 54}{space 4} -1.26974{col 67}{space 3}-1.111796
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

  Observation summary:{col 24}{res}      282{col 34}{txt} left-censored observations
{col 24}{res}     2226{col 34}{txt}    uncensored observations
{col 24}{res}      132{col 34}{txt}right-censored observations
{col 24}{res}      910{col 34}{txt}      interval observations

{com}. 
. test (prot10 = 0) (prot11 = 0) (prot12 = 0) (prot13 = 0) (prot14 = 0) (prot15 = 0) (prot16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]prot10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]prot11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]prot12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]prot13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]prot14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]prot15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]prot16 = 0{p_end}

{txt}{col 12}chi2(  7) ={res}    6.24
{txt}{col 10}Prob > chi2 =  {res}  0.5121
{txt}
{com}. test (cath10 = 0) (cath11 = 0) (cath12 = 0) (cath13 = 0) (cath14 = 0) (cath15 = 0) (cath16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]cath10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]cath11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]cath12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]cath13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]cath14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]cath15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]cath16 = 0{p_end}

{txt}{col 12}chi2(  7) ={res}   15.43
{txt}{col 10}Prob > chi2 =  {res}  0.0309
{txt}
{com}. test (jewi10 = 0) (jewi11 = 0) (jewi12 = 0) (jewi13 = 0) (jewi14 = 0) (jewi15 = 0) (jewi16 = 0)

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[model]jewi10 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [model]jewi11 = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [model]jewi12 = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [model]jewi13 = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} [model]jewi14 = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} [model]jewi15 = 0{p_end}
{p 0 7}{space 1}{text:( 7)}{space 1} [model]jewi16 = 0{p_end}

{txt}{col 12}chi2(  7) ={res}   14.28
{txt}{col 10}Prob > chi2 =  {res}  0.0464
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/gwf25/Desktop/claims_VIII.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 7 Dec 2015, 10:04:18
{txt}{.-}
{smcl}
{txt}{sf}{ul off}